Fix potential compilation error for example multicast

This commit is contained in:
Simon Duquennoy 2017-12-13 12:24:04 -08:00
parent 123105ab20
commit 30d12fd994
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ tcpip_handler(void)
if(uip_newdata()) {
count++;
PRINTF("In: [0x%08lx], TTL %u, total %u\n",
uip_ntohl((unsigned long) *((uint32_t *)(uip_appdata))),
(unsigned long)uip_ntohl((unsigned long) *((uint32_t *)(uip_appdata))),
UIP_IP_BUF->ttl, count);
}
return;