Clean up many C99 integer types format specifiers
This eliminates most of the warnings reported when building for arm-none-eabi (newlib). Hsiangkai, there're many similar warnings left in your nds32 files, I didn't have the nerve to clean them all, probably you could pick it up. Change-Id: Id3bbe2ed2e3f1396290e55bea4c45068165a4810 Signed-off-by: Paul Fertser <fercerpav@gmail.com> Reviewed-on: http://openocd.zylin.com/1674 Tested-by: jenkins Reviewed-by: Spencer Oliver <spen@spen-soft.co.uk>
This commit is contained in:
committed by
Spencer Oliver
parent
75b4cbe356
commit
f132fcf636
@@ -3388,7 +3388,7 @@ COMMAND_HANDLER(xscale_handle_trace_buffer_command)
|
||||
|
||||
if (xscale->trace.mode != XSCALE_TRACE_DISABLED) {
|
||||
char fill_string[12];
|
||||
sprintf(fill_string, "fill %" PRId32, xscale->trace.buffer_fill);
|
||||
sprintf(fill_string, "fill %d", xscale->trace.buffer_fill);
|
||||
command_print(CMD_CTX, "trace buffer enabled (%s)",
|
||||
(xscale->trace.mode == XSCALE_TRACE_FILL)
|
||||
? fill_string : "wrap");
|
||||
|
||||
Reference in New Issue
Block a user