summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:16 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:15:16 +0000
commitfde4f37f6ab882d41b8d7789845cfa7463bfa295 (patch)
treef8ef53a0946e5c0c8511842ca50b6474e0e78a84
parentf2f612aa69fc1205bb80d30ee26be1c5896b7f9b (diff)
downloadopenocd+libswd-fde4f37f6ab882d41b8d7789845cfa7463bfa295.tar.gz
openocd+libswd-fde4f37f6ab882d41b8d7789845cfa7463bfa295.tar.bz2
openocd+libswd-fde4f37f6ab882d41b8d7789845cfa7463bfa295.tar.xz
openocd+libswd-fde4f37f6ab882d41b8d7789845cfa7463bfa295.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2302 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r--src/target/arm7tdmi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/arm7tdmi.c b/src/target/arm7tdmi.c
index febe0e37..02886c36 100644
--- a/src/target/arm7tdmi.c
+++ b/src/target/arm7tdmi.c
@@ -458,7 +458,7 @@ void arm7tdmi_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 */
arm7tdmi_clock_out(jtag_info, ARMV4_5_MSR_IM(xpsr & 0xff, 0, 1, spsr), NULL, 0);