[coreboot-gerrit] Patch merged into coreboot/master: e21f5e1 libpayload: fix size_t handling

gerrit at coreboot.org gerrit at coreboot.org
Tue Mar 26 19:35:30 CET 2013


the following patch was just integrated into master:
commit e21f5e14834af6426bd6fc3e7f37f6b18243f416
Author: Stefan Reinauer <reinauer at chromium.org>
Date:   Mon Mar 25 15:13:20 2013 -0700

    libpayload: fix size_t handling
    
    libcbfs was using printf for size_t typed variables. However, printf
    did not support printing those. This patch fixes the issue, removing
    the warning when compiling ram_media.c
    
    libcbfs/ram_media.c:52:10: warning: format '%x' expects argument of type 'unsigned int', but argument 2 has type 'long unsigned int' [-Wformat]
    libcbfs/ram_media.c:52:10: warning: format '%x' expects argument of type 'unsigned int', but argument 3 has type 'long unsigned int' [-Wformat]
    
    Change-Id: Iaf6e723f9a5b0a61a39d3125036fee9853e37ba8
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
    Reviewed-on: http://review.coreboot.org/2904
    Tested-by: build bot (Jenkins)
    Reviewed-by: Ronald G. Minnich <rminnich at gmail.com>

Build-Tested: build bot (Jenkins) at Tue Mar 26 00:13:02 2013, giving +1
Reviewed-By: Ronald G. Minnich <rminnich at gmail.com> at Tue Mar 26 19:35:28 2013, giving +2
See http://review.coreboot.org/2904 for details.

-gerrit



More information about the coreboot-gerrit mailing list