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.git

commit 4c67d9d66c87a6ddd98895a288c8cece4f08cc30
Author: YAMAMOTO Takashi <yamam...@midokura.com>
AuthorDate: Fri Nov 27 14:26:22 2020 +0900

    boards/arm/cxd56xx/common/src/cxd56_ili9340.c: Fix syslog formats
---
 boards/arm/cxd56xx/common/src/cxd56_ili9340.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/boards/arm/cxd56xx/common/src/cxd56_ili9340.c 
b/boards/arm/cxd56xx/common/src/cxd56_ili9340.c
index b7b1255..74407f6 100644
--- a/boards/arm/cxd56xx/common/src/cxd56_ili9340.c
+++ b/boards/arm/cxd56xx/common/src/cxd56_ili9340.c
@@ -40,6 +40,7 @@
 #include <nuttx/config.h>
 
 #include <sys/types.h>
+#include <inttypes.h>
 #include <stdint.h>
 #include <stdbool.h>
 #include <string.h>
@@ -258,7 +259,7 @@ static int cxd56_ili93404ws_sendgram(FAR struct 
ili9340_lcd_s *lcd,
 {
   FAR struct ili93404ws_lcd_s *priv = (FAR struct ili93404ws_lcd_s *)lcd;
 
-  lcdinfo("lcd:%p, wd=%p, nwords=%d\n", lcd, wd, nwords);
+  lcdinfo("lcd:%p, wd=%p, nwords=%" PRId32 "\n", lcd, wd, nwords);
 
   SPI_SETBITS(priv->spi, 16);
   SPI_SNDBLOCK(priv->spi, wd, nwords);
@@ -311,7 +312,7 @@ static int cxd56_ili93404ws_recvparam(FAR struct 
ili9340_lcd_s *lcd,
 static int cxd56_ili93404ws_recvgram(FAR struct ili9340_lcd_s *lcd,
                                      uint16_t *wd, uint32_t nwords)
 {
-  lcdinfo("wd=%p, nwords=%d\n", wd, nwords);
+  lcdinfo("wd=%p, nwords=%" PRId32 "\n", wd, nwords);
 
   return OK;
 };

Reply via email to