From 2fcc0b52e48b32de27086cfd7f2675c2b6600ee2 Mon Sep 17 00:00:00 2001 From: Peter Stuge Date: Fri, 5 Dec 2008 11:56:57 +0000 Subject: Fix compilation of r3797 with gcc-4.3.2 Thanks to Niels Ole Salscheider for the problem report. Corresponding to flashrom svn r360 and coreboot v2 svn r3798. Signed-off-by: Peter Stuge Acked-by: Peter Stuge --- flashrom.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'flashrom.c') diff --git a/flashrom.c b/flashrom.c index 4dd2ea1..de3fab5 100644 --- a/flashrom.c +++ b/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]; -- cgit v1.1