mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
sys/shell/cmd_gnrc_icmpv6_echo: fix format specifier
At a cast to `unsigned` so that the format specifier `%u` matches the type. I think this won't have an impact on the generated machine code.
This commit is contained in:
parent
cf7ef55b8d
commit
30ebacd784
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user