You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2020/11/16 03:48:22 UTC
[incubator-nuttx-apps] branch master updated:
examples/fboverlay/fboverlay_main.c: Fix a printf format warning
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new 3690669 examples/fboverlay/fboverlay_main.c: Fix a printf format warning
3690669 is described below
commit 36906692423ba81330ad8ed5e6ae514f58e4870c
Author: YAMAMOTO Takashi <ya...@midokura.com>
AuthorDate: Mon Nov 16 07:22:27 2020 +0900
examples/fboverlay/fboverlay_main.c: Fix a printf format warning
---
examples/fboverlay/fboverlay_main.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/examples/fboverlay/fboverlay_main.c b/examples/fboverlay/fboverlay_main.c
index 35ac372..ad13466 100644
--- a/examples/fboverlay/fboverlay_main.c
+++ b/examples/fboverlay/fboverlay_main.c
@@ -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)