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 <[EMAIL PROTECTED]>
Acked-by: Peter Stuge <[EMAIL PROTECTED]>


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];


--
coreboot mailing list: [email protected]
http://www.coreboot.org/mailman/listinfo/coreboot

Reply via email to