From: Peter Stuge Date: Fri, 5 Dec 2008 11:56:57 +0000 (+0000) Subject: flashrom: Fix compilation of r3797 with gcc-4.3.2 X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=5a0be5193e6875d2003603d79bd29b272425946c;p=coreboot.git flashrom: Fix compilation of r3797 with gcc-4.3.2 Thanks to Niels Ole Salscheider for the problem report. Signed-off-by: Peter Stuge Acked-by: Peter Stuge git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3798 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1 --- diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 4dd2ea125..de3fab53c 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/flashrom.c @@ -250,7 +250,7 @@ int main(int argc, char *argv[]) { uint8_t *buf; unsigned long size; - size_t erasedbytes; + uint32_t erasedbytes; FILE *image; /* Probe for up to three flash chips. */ struct flashchip *flash, *flashes[3];