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

Tom Rini trini at konsulko.com
Wed Jul 5 22:15:26 CEST 2023


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’
> {aka ‘unsigned int’} [-Wformat=]
>    76 |         "config error: unknown keyword on line %ld\n",
>       |                                                ~~^
>       |                                                  |
>       |                                                  long int
>       |                                                %d
>    77 |         line_num);
>       |         ~~~~~~~~
>       |         |
>       |         size_t {aka unsigned int}
> 
> [...]

Applied to u-boot/master, thanks!

-- 
Tom



More information about the U-Boot mailing list