summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:36 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:36 +0000
commitb9feaddd75e26d1c31465610d323f9b15e6557ec (patch)
tree54da73ae161c6044d508872e54ab2d515b75238e /src
parentb54f4c5cb6c8010281e1accf4864ff137eb319de (diff)
downloadopenocd_libswd-b9feaddd75e26d1c31465610d323f9b15e6557ec.tar.gz
openocd_libswd-b9feaddd75e26d1c31465610d323f9b15e6557ec.tar.bz2
openocd_libswd-b9feaddd75e26d1c31465610d323f9b15e6557ec.tar.xz
openocd_libswd-b9feaddd75e26d1c31465610d323f9b15e6557ec.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2306 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/arm9tdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm9tdmi.c b/src/target/arm9tdmi.c
index 922fb085..07146c51 100644
--- a/src/target/arm9tdmi.c
+++ b/src/target/arm9tdmi.c
@@ -511,7 +511,7 @@ void arm9tdmi_write_xpsr(target_t *target, uint32_t xpsr, int spsr)
arm7_9_common_t *arm7_9 = armv4_5->arch_info;
arm_jtag_t *jtag_info = &arm7_9->jtag_info;
- LOG_DEBUG("xpsr: %8.8x, spsr: %i", xpsr, spsr);
+ LOG_DEBUG("xpsr: %8.8" PRIx32 ", spsr: %i", xpsr, spsr);
/* MSR1 fetched */
arm9tdmi_clock_out(jtag_info, ARMV4_5_MSR_IM(xpsr & 0xff, 0, 1, spsr), 0, NULL, 0);