summaryrefslogtreecommitdiff
path: root/src/target/target.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-25 07:14:05 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-25 07:14:05 +0000
commitd11c8e3c8e09e0c2c48a75e9e912f756e99a9f67 (patch)
tree463e5f9b38f7a8dcf33582ad8c3901a21b0634fb /src/target/target.c
parent14f2189e1ae51a395d4136dd991fb1a6c2ed42b2 (diff)
downloadopenocd_libswd-d11c8e3c8e09e0c2c48a75e9e912f756e99a9f67.tar.gz
openocd_libswd-d11c8e3c8e09e0c2c48a75e9e912f756e99a9f67.tar.bz2
openocd_libswd-d11c8e3c8e09e0c2c48a75e9e912f756e99a9f67.tar.xz
openocd_libswd-d11c8e3c8e09e0c2c48a75e9e912f756e99a9f67.zip
Ferdinand Postema <ferdinand@postema.eu> fix warnings
git-svn-id: svn://svn.berlios.de/openocd/trunk@2615 b42882b7-edfa-0310-969c-e2dbd0fdcd60
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 16e4fecd..d2194486 100644
--- a/src/target/target.c
+++ b/src/target/target.c
@@ -1760,7 +1760,7 @@ static int handle_reg_command(struct command_context_s *cmd_ctx, char *cmd, char
value = buf_to_str(reg->value,
reg->size, 16);
command_print(cmd_ctx,
- "(%i) %s (/%u): 0x%s%s",
+ "(%i) %s (/%" PRIu32 "): 0x%s%s",
count, reg->name,
reg->size, value,
reg->dirty
@@ -1768,7 +1768,7 @@ static int handle_reg_command(struct command_context_s *cmd_ctx, char *cmd, char
: "");
free(value);
} else {
- command_print(cmd_ctx, "(%i) %s (/%u)",
+ command_print(cmd_ctx, "(%i) %s (/%" PRIu32 ")",
count, reg->name,
reg->size) ;
}