coreboot-kgpe-d16/util/cbfstool
Paul Menzel 470c37c372 util/cbfstool: Use `%zu` instead of `%ld` for size_t arguments
cbfstool fails to built under 32-bit platforms since commit

    aa2f739a cbfs: fix issues with word size and endianness.

due to the use of '%ld' format specifier on size_t, which on these
platforms is only 32-bit.

No error is seen though, when cbfstool is built, when building a coreboot
image, where it is put in `build/cbfstool`.

Use the length modifier `z` for size_t arguments, and cast to size_t where
appropriate.

Change-Id: Id84a20fbf237376a31f7e4816bd139463800c977
Signed-off-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-on: http://review.coreboot.org/5388
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@gmail.com>
2014-05-27 15:43:08 +02:00
..
lzma cbfstool/lzma: Remove dead code under #ifdefs 2014-03-02 05:14:30 +01:00
EXAMPLE
Makefile util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
Makefile.inc util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
cbfs-mkpayload.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
cbfs-mkstage.c util/cbfstool: Use `%zu` instead of `%ld` for size_t arguments 2014-05-27 15:43:08 +02:00
cbfs-payload-linux.c cbfstool: account for the trampoline code in bzImage payload 2014-05-09 08:24:32 +02:00
cbfs.h util/cbfstool: Fix "Bad segment type 53534220 Could not load payload". 2014-04-18 21:18:05 +02:00
cbfs_image.c util/cbfstool: Make cbfs_image_delete() NULL-tolerant. 2014-04-07 18:34:33 +02:00
cbfs_image.h cbfstool: Deserialize CBFS master header when reading image 2014-02-11 20:14:39 +01:00
cbfstool.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
coff.h
common.c cbfstool: move iself() to eflheaders.c 2014-03-13 05:28:07 +01:00
common.h cbfstool: provide structure to linux payload builder 2014-03-28 14:40:53 +01:00
compress.c
elf.h
elfheaders.c util/cbfstool: Use `%zu` instead of `%ld` for size_t arguments 2014-05-27 15:43:08 +02:00
elfparsing.h cbfstool: add ELF writing support 2014-03-18 18:59:25 +01:00
fit.c cbfstool: add eflparsing.h 2014-03-13 05:28:44 +01:00
fit.h
fv.h
linux.h
linux_trampoline.c cbfstool: Fix build errors when building with clang 2014-02-10 05:43:56 +01:00
rmodtool.c util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
rmodule.c util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
rmodule.h util: add rmodtool for parsing ELF files to rmodules 2014-03-20 21:34:39 +01:00
swab.h
xdr.c cbfstool: add bputs() to store a byte stream to a buffer 2014-03-11 19:43:17 +01:00