summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:16:46 +0000
committerduane <duane@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-21 03:16:46 +0000
commitc25d4d4f302704dcc967fabbd1023cee26ccba6e (patch)
tree1607bde0f22503d74102b02b9285ab040b553cfa /src
parentd3a6ae5442e9880e5d71c20122d21dfee533343a (diff)
downloadopenocd+libswd-c25d4d4f302704dcc967fabbd1023cee26ccba6e.tar.gz
openocd+libswd-c25d4d4f302704dcc967fabbd1023cee26ccba6e.tar.bz2
openocd+libswd-c25d4d4f302704dcc967fabbd1023cee26ccba6e.tar.xz
openocd+libswd-c25d4d4f302704dcc967fabbd1023cee26ccba6e.zip
C99 printf() -Werror fixes
git-svn-id: svn://svn.berlios.de/openocd/trunk@2318 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/target/feroceon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/feroceon.c b/src/target/feroceon.c
index 934b3ddf..66cf005f 100644
--- a/src/target/feroceon.c
+++ b/src/target/feroceon.c
@@ -297,7 +297,7 @@ void feroceon_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);
arm9tdmi_clock_out(jtag_info, ARMV4_5_MSR_IM(xpsr & 0xff, 0, 1, spsr), 0, NULL, 0);
arm9tdmi_clock_out(jtag_info, ARMV4_5_NOP, 0, NULL, 0);