summaryrefslogtreecommitdiffstats
path: root/src/flash/nor/sim3x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/nor/sim3x.c')
-rw-r--r--src/flash/nor/sim3x.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flash/nor/sim3x.c b/src/flash/nor/sim3x.c
index 867d0caf..7ec00767 100644
--- a/src/flash/nor/sim3x.c
+++ b/src/flash/nor/sim3x.c
@@ -512,8 +512,8 @@ static int sim3x_flash_write(struct flash_bank *bank, const uint8_t * buffer, ui
"for padding buffer");
return ERROR_FAIL;
}
- LOG_INFO("odd number of bytes to write (%d), extending to %d "
- "and padding with 0xff", old_count, count);
+ LOG_INFO("odd number of bytes to write (%" PRIu32 "), extending to %" PRIu32
+ " and padding with 0xff", old_count, count);
new_buffer[count - 1] = 0xff;
buffer = memcpy(new_buffer, buffer, old_count);