diff --git a/examples/configdata/configdata_main.c b/examples/configdata/configdata_main.c index 700b86499..6d230b201 100644 --- a/examples/configdata/configdata_main.c +++ b/examples/configdata/configdata_main.c @@ -24,6 +24,7 @@ #include +#include #include #include #include @@ -378,7 +379,8 @@ static inline int crc = crc32(g_entryimage, entry->len); if (crc != entry->crc) { - printf("ERROR: Bad CRC: %u vs %u\n", crc, entry->crc); + printf("ERROR: Bad CRC: %" PRIu32 " vs %" PRIu32 "\n", + crc, entry->crc); printf(" Entry id: %04X\n", entry->id); printf(" Entry size: %d\n", entry->len); return ERROR;