examples/fb/fb_main.c: Fix printf format warnings

This commit is contained in:
YAMAMOTO Takashi 2020-11-13 17:08:05 +09:00 committed by Xiang Xiao
parent 69b6bb32a8
commit 379c0c1fd4

View File

@ -379,14 +379,14 @@ int main(int argc, FAR char *argv[])
printf(" overlay: %u\n", state.oinfo.overlay);
printf(" bpp: %u\n", state.oinfo.bpp);
printf(" blank: %u\n", state.oinfo.blank);
printf("chromakey: 0x%08x\n", state.oinfo.chromakey);
printf(" color: 0x%08x\n", state.oinfo.color);
printf("chromakey: 0x%08" PRIx32 "\n", state.oinfo.chromakey);
printf(" color: 0x%08" PRIx32 "\n", state.oinfo.color);
printf(" transp: 0x%02x\n", state.oinfo.transp.transp);
printf(" mode: %u\n", state.oinfo.transp.transp_mode);
printf(" area: (%u,%u) => (%u,%u)\n",
state.oinfo.sarea.x, state.oinfo.sarea.y,
state.oinfo.sarea.w, state.oinfo.sarea.h);
printf(" accl: %u\n", state.oinfo.accl);
printf(" accl: %" PRIu32 "\n", state.oinfo.accl);
#endif