[PATCH 1/1] cmd: upl: correct printf code
Tom Rini
trini at konsulko.com
Sat Oct 19 04:21:32 CEST 2024
On Fri, 18 Oct 2024 04:46:57 +0200, Heinrich Schuchardt wrote:
> Building on 32-bit results in a build failure:
>
> cmd/upl.c:75:51: warning: format ‘%lx’ expects argument of type
> ‘long unsigned int’, but argument 3 has type ‘size_t’
> {aka ‘unsigned int’} [-Wformat=]
> 75 | printf("UPL handoff written to %lx size %lx\n", addr, abuf_size(&buf));
> | ~~^ ~~~~~~~~~~~~~~~
> | | |
> | | size_t {aka unsigned int}
> | long unsigned int
> | %x
>
> [...]
Applied to u-boot/master, thanks!
--
Tom
More information about the U-Boot
mailing list