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 | 5a0be5193e6875d2003603d79bd29b272425946c (patch) | |
tree | 87bfe425647a8f84d2e9f25aa97136da8ad59f1e /util/flashrom/flashrom.c | |
parent | b4b56e669b910d8595eae6af21b3e86dc3d26c9d (diff) |
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@stuge.se>
Acked-by: Peter Stuge <peter@stuge.se>
git-svn-id: svn://svn.coreboot.org/coreboot/trunk@3798 2b7e53f0-3cfb-0310-b3e9-8179ed1497e1
Diffstat (limited to 'util/flashrom/flashrom.c')
-rw-r--r-- | util/flashrom/flashrom.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/flashrom/flashrom.c b/util/flashrom/flashrom.c index 4dd2ea1250..de3fab53cf 100644 --- a/util/flashrom/flashrom.c +++ b/util/flashrom/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]; |