@@ -5892,7 +5892,7 @@ int lfs_format(lfs_t *lfs, const struct lfs_config *cfg) {
58925892 ".read=%p, .prog=%p, .erase=%p, .sync=%p, "
58935893 ".read_size=%" PRIu32 ", .prog_size=%" PRIu32 ", "
58945894 ".block_size=%" PRIu32 ", .block_count=%" PRIu32 ", "
5895- ".block_cycles=%" PRIu32 ", .cache_size=%" PRIu32 ", "
5895+ ".block_cycles=%" PRId32 ", .cache_size=%" PRIu32 ", "
58965896 ".lookahead_size=%" PRIu32 ", .read_buffer=%p, "
58975897 ".prog_buffer=%p, .lookahead_buffer=%p, "
58985898 ".name_max=%" PRIu32 ", .file_max=%" PRIu32 ", "
@@ -5922,7 +5922,7 @@ int lfs_mount(lfs_t *lfs, const struct lfs_config *cfg) {
59225922 ".read=%p, .prog=%p, .erase=%p, .sync=%p, "
59235923 ".read_size=%" PRIu32 ", .prog_size=%" PRIu32 ", "
59245924 ".block_size=%" PRIu32 ", .block_count=%" PRIu32 ", "
5925- ".block_cycles=%" PRIu32 ", .cache_size=%" PRIu32 ", "
5925+ ".block_cycles=%" PRId32 ", .cache_size=%" PRIu32 ", "
59265926 ".lookahead_size=%" PRIu32 ", .read_buffer=%p, "
59275927 ".prog_buffer=%p, .lookahead_buffer=%p, "
59285928 ".name_max=%" PRIu32 ", .file_max=%" PRIu32 ", "
@@ -6059,7 +6059,7 @@ int lfs_file_open(lfs_t *lfs, lfs_file_t *file, const char *path, int flags) {
60596059 return err ;
60606060 }
60616061 LFS_TRACE ("lfs_file_open(%p, %p, \"%s\", %x)" ,
6062- (void * )lfs , (void * )file , path , flags );
6062+ (void * )lfs , (void * )file , path , ( unsigned ) flags );
60636063 LFS_ASSERT (!lfs_mlist_isopen (lfs -> mlist , (struct lfs_mlist * )file ));
60646064
60656065 err = lfs_file_open_ (lfs , file , path , flags );
@@ -6079,7 +6079,7 @@ int lfs_file_opencfg(lfs_t *lfs, lfs_file_t *file,
60796079 }
60806080 LFS_TRACE ("lfs_file_opencfg(%p, %p, \"%s\", %x, %p {"
60816081 ".buffer=%p, .attrs=%p, .attr_count=%" PRIu32 "})" ,
6082- (void * )lfs , (void * )file , path , flags ,
6082+ (void * )lfs , (void * )file , path , ( unsigned ) flags ,
60836083 (void * )cfg , cfg -> buffer , (void * )cfg -> attrs , cfg -> attr_count );
60846084 LFS_ASSERT (!lfs_mlist_isopen (lfs -> mlist , (struct lfs_mlist * )file ));
60856085
@@ -6441,7 +6441,7 @@ int lfs_migrate(lfs_t *lfs, const struct lfs_config *cfg) {
64416441 ".read=%p, .prog=%p, .erase=%p, .sync=%p, "
64426442 ".read_size=%" PRIu32 ", .prog_size=%" PRIu32 ", "
64436443 ".block_size=%" PRIu32 ", .block_count=%" PRIu32 ", "
6444- ".block_cycles=%" PRIu32 ", .cache_size=%" PRIu32 ", "
6444+ ".block_cycles=%" PRId32 ", .cache_size=%" PRIu32 ", "
64456445 ".lookahead_size=%" PRIu32 ", .read_buffer=%p, "
64466446 ".prog_buffer=%p, .lookahead_buffer=%p, "
64476447 ".name_max=%" PRIu32 ", .file_max=%" PRIu32 ", "
0 commit comments