Otherwise we get:
tools/atmelimage.c:134:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘size_t’ [-Wformat=]
debug("atmelimage: interrupt vector #%d is 0x%08X\n", pos+1,
^
Reviewed-by: Andreas Bießmann <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
/* check the seven interrupt vectors of binary */
for (pos = 0; pos < 7; pos++) {
- debug("atmelimage: interrupt vector #%d is 0x%08X\n", pos+1,
+ debug("atmelimage: interrupt vector #%zu is 0x%08X\n", pos+1,
ints[pos]);
/*
* all vectors except the 6'th one must contain valid