[riot-notifications] [RIOT-OS/RIOT] sys/stdio_uart: do not cast function pointer. (#10312)

Juan I Carrano notifications at github.com
Mon Nov 19 12:09:33 CET 2018


@bergzand 

1. I wanted to avoid an API change.
2. What makes those function pointers incompatible is not the arguments, but the return type (void vs int).

Regarding (2), it's usually innocuous in RISC architectures where the first results are returned in registers, which explains why the code is not blowing up right now.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/10312#issuecomment-439856585
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20181119/506428da/attachment.html>


More information about the notifications mailing list