coreboot-kgpe-d16/util/cbfstool
Hung-Te Lin 7b654a9702 cbfstool: Fix compile warnings caused by incorrect data types.
The "offset" in cbfs-mkpayload should be printed as type %lu
instead of %d as `gcc` rightfully warns about.

    gcc -g -Wall -D_7ZIP_ST -c -o /srv/filme/src/coreboot/util/cbfstool/cbfs-mkpayload.o cbfs-mkpayload.c
    cbfs-mkpayload.c: In function ‘parse_fv_to_payload’:
    cbfs-mkpayload.c:284:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]
    cbfs-mkpayload.c:296:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat]

This warning was introduced in the following commit.

    commit 4610247ef1
    Author: Patrick Georgi <patrick@georgi-clan.de>
    Date:   Sat Feb 9 13:26:19 2013 +0100

        cbfstool: Handle alignment in UEFI payloads

        Reviewed-on: http://review.coreboot.org/2334

Change-Id: I50c26a314723d45fcc6ff9ae2f08266cb7969a12
Signed-off-by: Hung-Te Lin <hungte@chromium.org>
Reviewed-on: http://review.coreboot.org/2440
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Tested-by: build bot (Jenkins)
2013-02-18 12:28:43 +01:00
..
lzma
EXAMPLE cbfstool: Update example file. 2013-02-04 11:12:15 +01:00
Makefile cbfstool: Add `-Werror` to make all warnings into errors 2013-02-18 12:10:44 +01:00
Makefile.inc cbfstool: Add cbfs_image new CBFS image manipulation API. 2013-02-05 22:25:02 +01:00
cbfs-mkpayload.c cbfstool: Fix compile warnings caused by incorrect data types. 2013-02-18 12:28:43 +01:00
cbfs-mkstage.c cbfstool: Use cbfs_image API for "add-*" (add-payload, add-stage, ...) commands. 2013-02-05 22:27:20 +01:00
cbfs.h cbfstool: Use cbfs_image API for "print" command. 2013-02-05 22:25:13 +01:00
cbfs_image.c cbfstool: Fix crash on image without bootblock in end of ROM. 2013-02-09 06:30:10 +01:00
cbfs_image.h cbfstool: Fix crash on image without bootblock in end of ROM. 2013-02-09 06:30:10 +01:00
cbfstool.c cbfstool: support parsing UEFI firmware volumes 2013-02-05 22:43:23 +01:00
coff.h cbfstool: Add support for 64bit UEFI 2013-02-06 00:37:26 +01:00
common.c cbfstool: Add buffer management API. 2013-02-05 22:24:45 +01:00
common.h cbfstool: support parsing UEFI firmware volumes 2013-02-05 22:43:23 +01:00
compress.c cbfstool: Add -v (verbose) output. 2013-02-01 05:54:24 +01:00
elf.h
fv.h cbfstool: Handle alignment in UEFI payloads 2013-02-09 20:58:22 +01:00
swab.h