diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-28 11:55:00 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-28 11:55:00 -0800 |
commit | 5f0223423d6c9a41bf0a9ac45772d1b01469bf0a (patch) | |
tree | d0c4d2d1b5e43b233eb43effa7c00922fc5441ab /src/target | |
parent | 30f6142fc8570549ff42676ffe16425c6a6ef264 (diff) | |
download | openocd_libswd-5f0223423d6c9a41bf0a9ac45772d1b01469bf0a.tar.gz openocd_libswd-5f0223423d6c9a41bf0a9ac45772d1b01469bf0a.tar.bz2 openocd_libswd-5f0223423d6c9a41bf0a9ac45772d1b01469bf0a.tar.xz openocd_libswd-5f0223423d6c9a41bf0a9ac45772d1b01469bf0a.zip |
ARM11: fix warning on amd64
Previous version of JTAG_DEBUG() macro hid this bug.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/arm11_dbgtap.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/target/arm11_dbgtap.c b/src/target/arm11_dbgtap.c index 9e438951..ed57d20c 100644 --- a/src/target/arm11_dbgtap.c +++ b/src/target/arm11_dbgtap.c @@ -871,7 +871,10 @@ int arm11_sc7_run(struct arm11_common * arm11, struct arm11_sc7_action * actions for (size_t i = 0; i < count; i++) { - JTAG_DEBUG("SC7 %02d: %02x %s %08x", i, actions[i].address, actions[i].write ? "<=" : "=>", actions[i].value); + JTAG_DEBUG("SC7 %02d: %02x %s %08x", + (unsigned) i, actions[i].address, + actions[i].write ? "<=" : "=>", + actions[i].value); } return ERROR_OK; |