Fix some C99 format specifiers
As exposed by arm-none-eabi build, fix the wrong modifiers. Change-Id: Ia6ce7c5c1d40e95059525c3e5d81b752df2fea7c Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/2122 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Andreas Fritiofson
parent
66c6665288
commit
b1a1a48b30
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user