]> git.kernelconcepts.de Git - karo-tx-uboot.git/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)
committerLothar Waßmann <LW@KARO-electronics.de>
Thu, 10 Sep 2015 09:29:51 +0000 (11:29 +0200)
commit9ad92fea1c7a48b622663cf5bf171f718cc8bc7c
tree671bf0155a9f8d552bd6ec0cd3436c03dba3143c
parent3b18cb1a1a736544520290320fb81af6a538adbe
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