1bdec853e1
Compiling examples/er-rest-example for the avr-raven gives: integer overflow in expression [-Woverflow] On the AVR int is 16 bit and some calculations may overflow. This happens for example with multiplications involving CLOCK_SECOND where all the operands are of type int. Casting one of the operands to clock_time_t forces the arithmetic to clock_time_t without increasing the size of the program (the calculation is performed at compile time). |
||
---|---|---|
.. | ||
http-socket | ||
ip | ||
ip64 | ||
ipv4 | ||
ipv6 | ||
llsec | ||
mac | ||
rime | ||
rpl | ||
link-stats.c | ||
link-stats.h | ||
linkaddr.c | ||
linkaddr.h | ||
nbr-table.c | ||
nbr-table.h | ||
net-debug.c | ||
net-debug.h | ||
netstack.c | ||
netstack.h | ||
packetbuf.c | ||
packetbuf.h | ||
queuebuf.c | ||
queuebuf.h |