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

2020-04-24 Thread Tom Rini
On Sat, Apr 11, 2020 at 06:36:04PM +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:310:42: warning: format ‘%ld’ expects argument of type > ‘long int’, but argument 3 ha

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

2020-04-19 Thread Simon Glass
On Sat, 11 Apr 2020 at 10:36, 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:310:42: warning: format ‘%ld’ expects argument of type > ‘long int’, but argument 3 has type ‘ssi

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

2020-04-11 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: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