[U-Boot] [PATCHv2] cmd/ubi.c: Fix format warning

Tom Rini trini at konsulko.com
Thu Jul 26 19:55:19 UTC 2018


On Thu, Jul 26, 2018 at 11:43:10AM -0400, Tom Rini wrote:

> On 64bit platforms we would otherwise see:
> ../cmd/ubi.c: In function 'ubi_volume_read':
> ../cmd/ubi.c:359:16: warning: format '%u' expects argument of type 'unsigned int', but argument 2 has type 'size_t {aka long unsigned int}' [-Wformat=]
> 
> Fixes: 68c7025d99db ("cmd: ubi: print load size after establishing volume size")
> Signed-off-by: Tom Rini <trini at konsulko.com>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180726/fa85fa15/attachment.sig>


More information about the U-Boot mailing list