From 05bf54fdbcec5fe15247d2d48e2e02c3298766f4 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Sat, 5 Dec 2020 07:56:50 +0900 Subject: [PATCH] arch/arm/src/sama5/sam_lcd.c: Fix a syslog format --- arch/arm/src/sama5/sam_lcd.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/arch/arm/src/sama5/sam_lcd.c b/arch/arm/src/sama5/sam_lcd.c index 8582ff515a..62e43221cb 100644 --- a/arch/arm/src/sama5/sam_lcd.c +++ b/arch/arm/src/sama5/sam_lcd.c @@ -48,6 +48,7 @@ #include +#include #include #include #include @@ -3082,8 +3083,8 @@ void sam_lcdclear(nxgl_mxpixel_t color) uint16_t *dest = (uint16_t *)LAYER_BASE.framebuffer; int i; - lcdinfo("Clearing display: BPP=16 color=%04x framebuffer=%08x size=%d\n", - color, LAYER_BASE.framebuffer, SAMA5_BASE_FBSIZE); + lcdinfo("Clearing display: BPP=16 color=%04jx framebuffer=%p size=%d\n", + (intmax_t)color, LAYER_BASE.framebuffer, SAMA5_BASE_FBSIZE); for (i = 0; i < SAMA5_BASE_FBSIZE; i += sizeof(uint16_t)) {