mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-17 20:51:39 +00:00
tools/atmelimage.c: Fix warning when debug is enabled
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 <andreas.devel@googlemail.com> Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
504de98a3b
commit
a679cc0118
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ static int atmel_verify_header(unsigned char *ptr, int image_size,
|
||||||
|
|
||||||
/* check the seven interrupt vectors of binary */
|
/* check the seven interrupt vectors of binary */
|
||||||
for (pos = 0; pos < 7; pos++) {
|
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]);
|
ints[pos]);
|
||||||
/*
|
/*
|
||||||
* all vectors except the 6'th one must contain valid
|
* all vectors except the 6'th one must contain valid
|
||||||
|
|
Loading…
Add table
Reference in a new issue