From be013cc338cbbc6e7142b93220c642363ad857d7 Mon Sep 17 00:00:00 2001 From: YAMAMOTO Takashi Date: Wed, 25 Nov 2020 08:13:37 +0900 Subject: [PATCH] fs/spiffs/src/spiffs_gc.c: Fix syslog formats --- fs/spiffs/src/spiffs_gc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fs/spiffs/src/spiffs_gc.c b/fs/spiffs/src/spiffs_gc.c index 1413537930..45358eada4 100644 --- a/fs/spiffs/src/spiffs_gc.c +++ b/fs/spiffs/src/spiffs_gc.c @@ -652,7 +652,7 @@ static int spiffs_gc_clean(FAR struct spiffs_s *fs, int16_t blkndx) spiffs_gcinfo( "Wrote page=%04x to objhdr entry=%04x\n", new_data_pgndx, - SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx)); + (int)SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx)); } else { @@ -666,7 +666,7 @@ static int spiffs_gc_clean(FAR struct spiffs_s *fs, int16_t blkndx) spiffs_gcinfo( "Wrote page=%04x to objndx entry=%04x\n", new_data_pgndx, - SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx)); + (int)SPIFFS_OBJNDX_ENTRY(fs, phdr.spndx)); } } }