aboutsummaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/target/target.c')
-rw-r--r--src/target/target.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/target.c b/src/target/target.c
index 32ab1178..9416b25b 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -5712,7 +5712,7 @@ COMMAND_HANDLER(handle_test_mem_access_command)
read_buf[i] = read_ref[i];
}
command_print_sameline(CMD_CTX,
- "Test read %d x %d @ %d to %saligned buffer: ", count,
+ "Test read %" PRIu32 " x %d @ %d to %saligned buffer: ", count,
size, offset, host_offset ? "un" : "");
struct duration bench;
@@ -5784,7 +5784,7 @@ out:
for (size_t i = 0; i < host_bufsiz; i++)
write_buf[i] = rand();
command_print_sameline(CMD_CTX,
- "Test write %d x %d @ %d from %saligned buffer: ", count,
+ "Test write %" PRIu32 " x %d @ %d from %saligned buffer: ", count,
size, offset, host_offset ? "un" : "");
retval = target_write_memory(target, wa->address, 1, num_bytes, test_pattern);