fixed compiler warning

This commit is contained in:
Niclas Finne 2011-09-27 23:54:59 +02:00
parent a56793f401
commit 1a761ec3eb

View File

@ -422,7 +422,7 @@ handle_incoming_data(void)
PRINTF("uip_datalen received %u \n",(u16_t)uip_datalen()); PRINTF("uip_datalen received %u \n",(u16_t)uip_datalen());
char* data = uip_appdata + uip_ext_len; char* data = (char *)uip_appdata + uip_ext_len;
u16_t datalen = uip_datalen() - uip_ext_len; u16_t datalen = uip_datalen() - uip_ext_len;
int data_size = 0; int data_size = 0;