coreboot-kgpe-d16/util/cbfstool
Reka Norman f49fcc6bf5 util/cbfstool: Change %lu to %zu for size_t argument
With commit 34a7e66faa ("util/cbfstool: Add a new mechanism to
provide a memory map"), builds are failing on 32-bit platforms with:

../cbfstool/cbfstool.c:397:30: error: format specifies type 'unsigned long' but the argument has type 'size_t' (aka 'unsigned int') [-Werror,-Wformat]
                printf("Image SIZE %lu\n", image_size);
                                   ~~~     ^~~~~~~~~~
                                   %zu

Change the format specifier from %lu to %zu.

TEST=`emerge-cherry coreboot-utils` now succeeds

Change-Id: I3602f57cf91c330122019bfa921faef6deb2b4ce
Signed-off-by: Reka Norman <rekanorman@chromium.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/70848
Reviewed-by: Elyes Haouas <ehaouas@noos.fr>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
2022-12-17 20:41:14 +00:00
..
bpdt_formats
console
flashmap
fpt_formats
lz4
lzma
tests
.gitignore
EXAMPLE
Makefile
Makefile.inc
ProcessorBind.h
amdcompress.c
cbfs-mkpayload.c
cbfs-mkstage.c
cbfs-payload-linux.c
cbfs.h
cbfs_glue.h
cbfs_image.c
cbfs_image.h
cbfs_sections.c
cbfs_sections.h
cbfscomptool.c
cbfstool.c util/cbfstool: Change %lu to %zu for size_t argument 2022-12-17 20:41:14 +00:00
coff.h
common.c
common.h
compress.c
cse_fpt.c
cse_fpt.h
cse_helpers.c
cse_helpers.h
cse_serger.c
cse_serger.h
default-x86.fmd
default.fmd
description.md
elf.h
elfheaders.c
elfparsing.h
elogtool.c
eventlog.c
eventlog.h
fdt.h
fit.c
fit.h
flashmap_tests.c
flashrom.c
flashrom.h
fmap_from_fmd.c
fmap_from_fmd.h
fmaptool.c
fmd.c
fmd.h
fmd_parser.c_shipped
fmd_parser.h_shipped
fmd_parser.y
fmd_scanner.c_shipped
fmd_scanner.h_shipped
fmd_scanner.l
fv.h
ifittool.c
ifwitool.c
linux.h
linux_trampoline.S
linux_trampoline.c
linux_trampoline.h
option.h
partitioned_file.c
partitioned_file.h
platform_fixups.c
rmodtool.c
rmodule.c
rmodule.h
xdr.c