[U-Boot] [PATCH v2] fix compile warning for env tools

Mike Frysinger vapier at gentoo.org
Wed Sep 7 06:25:14 CEST 2011


On Monday, September 05, 2011 17:40:13 Luka Perkov wrote:
> Patch fixes this issue:
> 
> fw_env.c: In function ‘fw_setenv’:
> fw_env.c:492:5: warning: format ‘%u’ expects argument of type ‘unsigned
> int’, but argument 3 has type ‘size_t’ [-Wformat] fw_env.c: In function
> ‘flash_write_buf’:
> fw_env.c:806:6: warning: format ‘%u’ expects argument of type ‘unsigned
> int’, but argument 3 has type ‘size_t’ [-Wformat]

Acked-by: Mike Frysinger <vapier at gentoo.org>
-mike
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part.
Url : http://lists.denx.de/pipermail/u-boot/attachments/20110907/8e9cc3bf/attachment.pgp 


More information about the U-Boot mailing list