examples/fboverlay/fboverlay_main.c: Fix a printf format warning

This commit is contained in:
YAMAMOTO Takashi 2020-11-16 07:22:27 +09:00 committed by Xiang Xiao
parent c408462892
commit 3690669242

View File

@ -647,7 +647,8 @@ static int overlay_color(int fb, FAR struct fb_overlayinfo_s *oinfo)
{
int ret;
printf("Overlay: %d, set color: 0x%08x\n", oinfo->overlay, oinfo->color);
printf("Overlay: %d, set color: 0x%08" PRIx32 "\n",
oinfo->overlay, oinfo->color);
ret = overlay_accl(fb, oinfo->overlay, FB_ACCL_COLOR);
if (ret != OK)