summaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
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