diff --git a/examples/rpl_udp/rpl.c b/examples/rpl_udp/rpl.c index 4be9c802e3..6ee6544a5c 100644 --- a/examples/rpl_udp/rpl.c +++ b/examples/rpl_udp/rpl.c @@ -90,7 +90,7 @@ void rpl_udp_init(int argc, char **argv) return; } - printf("Channel set to %d\n", chan); + printf("Channel set to %" PRIi32 "\n", chan); if (command != 'h') { DEBUGF("Initializing RPL for interface 0\n");