[PATCH v1] tools: fix format string in tools/imx8image.c

Tom Rini trini at konsulko.com
Mon Jan 12 19:44:26 CET 2026


On Mon, Jan 12, 2026 at 07:12:37PM +0100, Milan P. Stanić wrote:

> on 32bit systems with musl libc compiler emits
> warning: format '%lx' expects argument of type 'long unsigned int', but argument 3 has type 'size_t' {aka 'unsigned int'} [-Wformat=]
> 
> to fix this use format length modifier 'z' (size_t) instead of 'l'
> 
> Signed-off-by: Milan P. Stanić <mps at arvanta.net>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 228 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20260112/e65a6cc3/attachment.sig>


More information about the U-Boot mailing list