summaryrefslogtreecommitdiff
path: root/src/target
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:32 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:32 +0000
commitb54f4c5cb6c8010281e1accf4864ff137eb319de (patch)
tree946c948bd386da962fc8243c02a59417895b0c4b /src/target
parentbe1ab108f3080163dbeb6806361e2b079f875c91 (diff)
downloadopenocd_libswd-b54f4c5cb6c8010281e1accf4864ff137eb319de.tar.gz
openocd_libswd-b54f4c5cb6c8010281e1accf4864ff137eb319de.tar.bz2
openocd_libswd-b54f4c5cb6c8010281e1accf4864ff137eb319de.tar.xz
openocd_libswd-b54f4c5cb6c8010281e1accf4864ff137eb319de.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2305 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target')
-rw-r--r--src/target/arm966e.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/target/arm966e.c b/src/target/arm966e.c
index 2ad0ab17..67ff8a6b 100644
--- a/src/target/arm966e.c
+++ b/src/target/arm966e.c
@@ -295,7 +295,7 @@ int arm966e_handle_cp15_command(struct command_context_s *cmd_ctx, char *cmd, ch
return retval;
}
- command_print(cmd_ctx, "%i: %8.8x", address, value);
+ command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
}
else if (argc == 2)
{
@@ -305,7 +305,7 @@ int arm966e_handle_cp15_command(struct command_context_s *cmd_ctx, char *cmd, ch
command_print(cmd_ctx, "couldn't access reg %i", address);
return ERROR_OK;
}
- command_print(cmd_ctx, "%i: %8.8x", address, value);
+ command_print(cmd_ctx, "%i: %8.8" PRIx32 "", address, value);
}
}