ARM11: fix warning on amd64

Previous version of JTAG_DEBUG() macro hid this bug.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
This commit is contained in:
David Brownell 2009-11-28 11:55:00 -08:00
parent 30f6142fc8
commit 5f0223423d

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++)
{
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;