[riot-notifications] [RIOT] Fix warnings (#358)

LudwigOrtmann notifications at github.com
Thu Nov 21 19:58:13 CET 2013


```
#include <stdio.h>
#include <inttypes.h>

int main(int x, char **y)
{
    double d = 3.25;

    printf("%i\n", (uint16_t) (d + 0.5));
    printf("%i\n", (uint16_t)((uint16_t) d < 0 ? d - .5 : d + .5));
    printf("%i\n", (uint16_t)((uint16_t) (d < 0 ? d - .5 : d + .5)));

    return 0;
}
```

---
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/358#issuecomment-29012618
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20131121/a6c334e4/attachment.html>


More information about the notifications mailing list