]> git.dujemihanovic.xyz Git - u-boot.git/commit
cmd/ubi.c: Fix format warning
authorTom Rini <trini@konsulko.com>
Thu, 26 Jul 2018 15:17:24 +0000 (11:17 -0400)
committerTom Rini <trini@konsulko.com>
Thu, 26 Jul 2018 15:43:30 +0000 (11:43 -0400)
commit1341533778dcb865fa55b9514c9ebc77c4609174
treed552817281c8755216348b7a1d2a6331e362d2e4
parentff6bef48529b8c49cad74371cfaa3b2175146c30
cmd/ubi.c: Fix format warning

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@konsulko.com>
cmd/ubi.c