]> git.baikalelectronics.ru Git - uboot.git/commit
tools: kwbimage: Fix printf format warning
authorMarek Behún <marek.behun@nic.cz>
Fri, 24 Sep 2021 21:06:38 +0000 (23:06 +0200)
committerStefan Roese <sr@denx.de>
Fri, 1 Oct 2021 09:07:13 +0000 (11:07 +0200)
commitc046a9ce1fd9f62effb4889c18c72e7dfad53bc1
tree656055ed37c42b913204d6e88ae034c5941e682f
parent0226fcca0814679cde3bbbcc5602ea2104f80c7e
tools: kwbimage: Fix printf format warning

On 32-bit ARM the compiler complains:
  tools/kwbimage.c:547: warning: format ‘%lu’ expects argument of type
                                 ‘long unsigned int’, but argument 4 has
                 type ‘unsigned int’

Fix this by using %zu instead of %lu format specifier.

Signed-off-by: Marek Behún <marek.behun@nic.cz>
Reviewed-by: Stefan Roese <sr@denx.de>
tools/kwbimage.c