mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-09-09 08:54:32 +00:00
fixed compiler warning
This commit is contained in:
parent
be76ae53f9
commit
7ca6cb2ce2
@ -59,7 +59,7 @@ udphandler(process_event_t ev, process_data_t data)
|
||||
if (ev == tcpip_event) {
|
||||
if(uip_newdata()) {
|
||||
((char *)uip_appdata)[uip_datalen()] = 0;
|
||||
printf("Receiver received: '%s'\n", uip_appdata);
|
||||
printf("Receiver received: '%s'\n", (char *)uip_appdata);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ udphandler(process_event_t ev, process_data_t data)
|
||||
if(ev == tcpip_event) {
|
||||
if(uip_newdata()) {
|
||||
((char *)uip_appdata)[uip_datalen()] = 0;
|
||||
printf("Sender received: '%s'\n", uip_appdata);
|
||||
printf("Sender received: '%s'\n", (char *)uip_appdata);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user