Commit 2fcc0b52 authored by Peter Stuge's avatar Peter Stuge
Browse files

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: default avatarPeter Stuge <peter@stuge.se>
Acked-by: default avatarPeter Stuge <peter@stuge.se>
parent f0c811dd
......@@ -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];
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment