]> git.ipfire.org Git - thirdparty/u-boot.git/commit
tools: fix format string in tools/imx8image.c
authorMilan P. Stanić <mps@arvanta.net>
Mon, 12 Jan 2026 18:12:37 +0000 (19:12 +0100)
committerFabio Estevam <festevam@nabladev.com>
Sat, 17 Jan 2026 18:01:00 +0000 (15:01 -0300)
commitdfebedc6120556be4889b284bc27362a8a237a00
treec93ba81287e3837ac27000533bf8ea536bdf45e0
parent9a030f4c5151056f16f6c2300de7a0ad6f2a812e
tools: fix format string in tools/imx8image.c

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@arvanta.net>
Reviewed-by: Tom Rini <trini@konsulko.com>
tools/imx8image.c