diff options
author | Peter Stuge <peter@stuge.se> | 2008-12-05 11:56:57 +0000 |
---|---|---|
committer | Peter Stuge <peter@stuge.se> | 2008-12-05 11:56:57 +0000 |
commit | db9b05ee3324a818b1241e38300fa58c177df1be (patch) | |
tree | 024eaf03d347d0320789b475f48ea6d9c1db0217 /flashrom.c | |
parent | d3457f1a7d47c5382c9b30a3be3dabac3abf6205 (diff) | |
download | flashrom-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]; |