summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
authorPeter Stuge <peter@stuge.se>2008-12-05 11:56:57 +0000
committerPeter Stuge <peter@stuge.se>2008-12-05 11:56:57 +0000
commitdb9b05ee3324a818b1241e38300fa58c177df1be (patch)
tree024eaf03d347d0320789b475f48ea6d9c1db0217 /flashrom.c
parentd3457f1a7d47c5382c9b30a3be3dabac3abf6205 (diff)
downloadflashrom-db9b05ee3324a818b1241e38300fa58c177df1be.zip
flashrom-db9b05ee3324a818b1241e38300fa58c177df1be.tar.gz
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 <peter@stuge.se> Acked-by: Peter Stuge <peter@stuge.se>
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c2
1 files changed, 1 insertions, 1 deletions
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];
OpenPOWER on IntegriCloud