]> git.sur5r.net Git - u-boot/commit
tools/atmelimage.c: Fix warning when debug is enabled
authorTom Rini <trini@konsulko.com>
Wed, 26 Aug 2015 19:18:30 +0000 (15:18 -0400)
committerTom Rini <trini@konsulko.com>
Fri, 28 Aug 2015 18:01:11 +0000 (14:01 -0400)
commita679cc0118f6bec16c82d2c44f8a980f6f319bde
tree16409717473309333e1a741d78f4d6a0bad9de4c
parent504de98a3b18b4bf88e5ff6c7efb804407fa5930
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>
tools/atmelimage.c