From 5f0223423d6c9a41bf0a9ac45772d1b01469bf0a Mon Sep 17 00:00:00 2001 From: David Brownell Date: Sat, 28 Nov 2009 11:55:00 -0800 Subject: [PATCH] ARM11: fix warning on amd64 Previous version of JTAG_DEBUG() macro hid this bug. Signed-off-by: David Brownell --- src/target/arm11_dbgtap.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; -- 2.39.5