From 5a0be5193e6875d2003603d79bd29b272425946c Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Fri, 5 Dec 2008 11:56:57 +0000 Subject: [PATCH] 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 --- util/flashrom/flashrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 4dd2ea1250..de3fab53cf 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];