Skip to content
Commit 39a75f5a authored by Heinrich Schuchardt's avatar Heinrich Schuchardt
Browse files

efi_loader: wrong printf format in efi_image_parse



Commit 1b6c0854 ("efi_loader: image_loader: replace debug to
EFI_PRINT") leads to a build warning on 32bit systems:

lib/efi_loader/efi_image_loader.c: In function ‘efi_image_parse’:
include/efi_loader.h:123:8: warning: format ‘%lu’ expects argument
of type ‘long unsigned int’, but argument 8 has
type ‘size_t’ {aka ‘unsigned int’} [-Wformat=]

Use %zu for printing size_t.

Fixes: 1b6c0854 ("efi_loader: image_loader: replace debug to
EFI_PRINT")

Signed-off-by: default avatarHeinrich Schuchardt <xypron.glpk@gmx.de>
parent ecb833a0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment