1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

sys/net/gnrc: Fixed wrong PRIuSIZE format specifier

This commit is contained in:
Frederik Haxel 2024-01-12 12:00:21 +01:00
parent a6a6e31699
commit 291c89f1e7
2 changed files with 2 additions and 2 deletions

View File

@ -243,7 +243,7 @@ gnrc_pktsnip_t *gnrc_pktbuf_start_write(gnrc_pktsnip_t *pkt)
#ifdef MODULE_OD
static inline void _print_chunk(void *chunk, size_t size, int num)
{
printf("=========== chunk %3" PRIuSIZE " (%-10p size: %4u) ===========\n", num, chunk,
printf("=========== chunk %3i (%-10p size: %4" PRIuSIZE ") ===========\n", num, chunk,
size);
od_hex_dump(chunk, size, OD_WIDTH_DEFAULT);
}

View File

@ -151,7 +151,7 @@ static void _dump(gnrc_pktsnip_t *pkt)
gnrc_pktsnip_t *snip = pkt;
while (snip != NULL) {
printf("~~ SNIP %2" PRIuSIZE " - size: %3u byte, type: ", snips,
printf("~~ SNIP %2i - size: %3" PRIuSIZE " byte, type: ", snips,
snip->size);
_dump_snip(snip);
++snips;