Re: [U-Boot] [PATCH 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-27 Thread Tom Rini
On Thu, Aug 27, 2015 at 12:37:52PM +0200, Andreas Bießmann wrote: > Hi Tom, > > On 08/26/2015 09:21 PM, Tom Rini wrote: > > 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:

Re: [U-Boot] [PATCH 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-27 Thread Andreas Bießmann
Hi Tom, On 08/26/2015 09:21 PM, Tom Rini wrote: > 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, > ^ > > Signed-off-by: Tom Rini > --

[U-Boot] [PATCH 1/2] tools/atmelimage.c: Fix warning when debug is enabled

2015-08-26 Thread Tom Rini
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, ^ Signed-off-by: Tom Rini --- tools/atmelimage.c |2 +- 1 file changed, 1 insertion(+),