[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
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:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications