Re: [PATCH 1/1] tools: spkgimage: correct printf specifier

2023-07-05 Thread Tom Rini
On Tue, 04 Jul 2023 22:18:09 +0200, Heinrich Schuchardt wrote: > Compiling on armv7 results in: > > tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’: > tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects > argument of type ‘long int’, but argument 3 has type ‘size_t

Re: [PATCH 1/1] tools: spkgimage: correct printf specifier

2023-07-04 Thread Marek Vasut
On 7/4/23 22:18, Heinrich Schuchardt wrote: Compiling on armv7 results in: tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’: tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wfo

[PATCH 1/1] tools: spkgimage: correct printf specifier

2023-07-04 Thread Heinrich Schuchardt
Compiling on armv7 results in: tools/renesas_spkgimage.c: In function ‘spkgimage_parse_config_line’: tools/renesas_spkgimage.c:76:66: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘size_t’ {aka ‘unsigned int’} [-Wformat=] 76 | "config error: unknown