summaryrefslogtreecommitdiff
path: root/lib/Makefile
diff options
context:
space:
mode:
authorHeinrich Schuchardt <xypron.glpk@gmx.de>2020-04-11 18:36:04 +0200
committerTom Rini <trini@konsulko.com>2020-04-24 10:51:32 -0400
commitb21c08a12b8ebeea0cb77830d662ee118245774e (patch)
tree78399515f8cfcc240c9a93e9711d72fdfe8b7bdc /lib/Makefile
parent0053d26bcc09fc4473572d51a9c754a409ffd562 (diff)
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:310:42: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘ssize_t’ {aka ‘int’} [-Wformat=] printf("Can't read all file %s (read %ld bytes, expexted %ld)\n", ~~^ %d filename, n, sbuf.st_size); ~ n is of type ssize_t so we should use %zd for printing. Fixes: 7298e422504e ("mkimage: fit: add support to encrypt image with aes") Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'lib/Makefile')
0 files changed, 0 insertions, 0 deletions