diff --git a/sys/shell/cmds/gnrc_icmpv6_echo.c b/sys/shell/cmds/gnrc_icmpv6_echo.c index 444da87770..4912ff63af 100644 --- a/sys/shell/cmds/gnrc_icmpv6_echo.c +++ b/sys/shell/cmds/gnrc_icmpv6_echo.c @@ -344,7 +344,7 @@ static int _print_reply(gnrc_pktsnip_t *pkt, int corrupted, uint32_t triptime, v } /* check response for corruption */ else if (corrupted >= 0) { - printf(" corrupted at offset %u", corrupted); + printf(" corrupted at offset %u", (unsigned)corrupted); } if (rssi != GNRC_NETIF_HDR_NO_RSSI) { printf(" rssi=%"PRId16" dBm", rssi);