Re: [PATCH] tools: image-host.c: use correct output format

2020-10-22 Thread Tom Rini
On Thu, Oct 08, 2020 at 08:51:24PM +0200, Heinrich Schuchardt wrote: > 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

Re: [PATCH] tools: image-host.c: use correct output format

2020-10-11 Thread Simon Glass
On Thu, 8 Oct 2020 at 12:51, Heinrich Schuchardt wrote: > > 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

[PATCH] tools: image-host.c: use correct output format

2020-10-08 Thread Heinrich Schuchardt
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