Skip to content

Commit 36bac4f

Browse files
xiaoxiang781216gustavonihei
authored andcommitted
Fix error: format '%u' expects argument of type 'unsigned int', but argument 5 has type 'uint32_t'
Signed-off-by: Xiang Xiao <[email protected]>
1 parent aa217e2 commit 36bac4f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/nuttx/src/flash_map_backend/flash_map_backend.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,7 @@ uint32_t flash_area_align(const struct flash_area *fa)
603603

604604
const uint32_t minimum_write_length = 1;
605605

606-
BOOT_LOG_INF("ID:%" PRIu8 " align:%" PRIu8,
606+
BOOT_LOG_INF("ID:%" PRIu8 " align:%" PRIu32,
607607
fa->fa_id, minimum_write_length);
608608

609609
return minimum_write_length;

0 commit comments

Comments
 (0)