[coreboot] r3798 - trunk/util/flashrom

svn at coreboot.org svn at coreboot.org
Fri Dec 5 12:56:58 CET 2008


Author: stuge
Date: 2008-12-05 12:56:57 +0100 (Fri, 05 Dec 2008)
New Revision: 3798

Modified:
   trunk/util/flashrom/flashrom.c
Log:
flashrom: Fix compilation of r3797 with gcc-4.3.2

Thanks to Niels Ole Salscheider for the problem report.

Signed-off-by: Peter Stuge <peter at stuge.se>
Acked-by: Peter Stuge <peter at stuge.se>


Modified: trunk/util/flashrom/flashrom.c
===================================================================
--- trunk/util/flashrom/flashrom.c	2008-12-05 02:22:30 UTC (rev 3797)
+++ trunk/util/flashrom/flashrom.c	2008-12-05 11:56:57 UTC (rev 3798)
@@ -250,7 +250,7 @@
 {
 	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];





More information about the coreboot mailing list