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

Tom Rini trini at konsulko.com
Fri Aug 28 23:05:07 CEST 2015


On Fri, Aug 28, 2015 at 09:20:18AM +0200, Andreas Bießmann wrote:

> +u-boot ML
> 
> On 08/27/2015 07:54 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,
> > ^
> > 
> > Cc: Andreas Bießmann <andreas.devel at googlemail.com>
> > Signed-off-by: Tom Rini <trini at konsulko.com>
> 
> Reviewed-by: Andreas Bießmann <andreas.devel at googlemail.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20150828/2df6cce4/attachment.sig>


More information about the U-Boot mailing list