ARM11: fix warning on amd64

Previous version of JTAG_DEBUG() macro hid this bug.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
__archive__
David Brownell 2009-11-28 11:55:00 -08:00
parent 30f6142fc8
commit 5f0223423d
1 changed files with 4 additions and 1 deletions

View File

@ -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++) 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; return ERROR_OK;