Ferdinand Postema <ferdinand@postema.eu> fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2615 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
+2
-2
@@ -1760,7 +1760,7 @@ static int handle_reg_command(struct command_context_s *cmd_ctx, char *cmd, char
|
|||||||
value = buf_to_str(reg->value,
|
value = buf_to_str(reg->value,
|
||||||
reg->size, 16);
|
reg->size, 16);
|
||||||
command_print(cmd_ctx,
|
command_print(cmd_ctx,
|
||||||
"(%i) %s (/%u): 0x%s%s",
|
"(%i) %s (/%" PRIu32 "): 0x%s%s",
|
||||||
count, reg->name,
|
count, reg->name,
|
||||||
reg->size, value,
|
reg->size, value,
|
||||||
reg->dirty
|
reg->dirty
|
||||||
@@ -1768,7 +1768,7 @@ static int handle_reg_command(struct command_context_s *cmd_ctx, char *cmd, char
|
|||||||
: "");
|
: "");
|
||||||
free(value);
|
free(value);
|
||||||
} else {
|
} else {
|
||||||
command_print(cmd_ctx, "(%i) %s (/%u)",
|
command_print(cmd_ctx, "(%i) %s (/%" PRIu32 ")",
|
||||||
count, reg->name,
|
count, reg->name,
|
||||||
reg->size) ;
|
reg->size) ;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user