]> git.baikalelectronics.ru Git - uboot.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)
commitfe47b454be13c780bbeb87ffcfacc46e46176a20
treed552817281c8755216348b7a1d2a6331e362d2e4
parent3036443fcd7ea538c140b5806cad4dfa54e7974d
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: 28cdc9b4adef ("cmd: ubi: print load size after establishing volume size")
Signed-off-by: Tom Rini <trini@konsulko.com>
cmd/ubi.c