summaryrefslogtreecommitdiffstats
path: root/MAINTAINERS
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-10-08 20:51:24 +0200
committerTom Rini <trini@konsulko.com>2020-10-22 09:54:54 -0400
commit3311eda658e0d800eec1aae4e608726a00e19865 (patch)
treeab12058018c35658af21af249978bde708343b33 /MAINTAINERS
parent5d57dfad3f0efa06b9563b019bb80c59b569bb2e (diff)
downloadu-boot-3311eda658e0d800eec1aae4e608726a00e19865.tar.gz
u-boot-3311eda658e0d800eec1aae4e608726a00e19865.tar.xz
u-boot-3311eda658e0d800eec1aae4e608726a00e19865.zip
tools: image-host.c: use correct output format
When building on a 32bit host the following warning occurs: tools/image-host.c: In function ‘fit_image_read_data’: tools/image-host.c:296:56: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘__off64_t’ {aka ‘long long int’} [-Wformat=] printf("File %s don't have the expected size (size=%ld, expected=%d)\n", ~~^ %lld filename, sbuf.st_size, expected_size); ~~~~~~~~~~~~ tools/image-host.c:311:62: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘__off64_t’ {aka ‘long long int’} [-Wformat=] printf("Can't read all file %s (read %zd bytes, expexted %ld)\n", ~~^ %lld filename, n, sbuf.st_size); ~~~~~~~~~~~~ Fix the format strings. Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'MAINTAINERS')
0 files changed, 0 insertions, 0 deletions