projects
/
coreboot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b56e6
)
flashrom: Fix compilation of r3797 with gcc-4.3.2
author
Peter Stuge
<peter@stuge.se>
Fri, 5 Dec 2008 11:56:57 +0000
(11:56 +0000)
committer
Peter Stuge
<peter@stuge.se>
Fri, 5 Dec 2008 11:56:57 +0000
(11:56 +0000)
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
util/flashrom/flashrom.c
patch
|
blob
|
history
diff --git
a/util/flashrom/flashrom.c
b/util/flashrom/flashrom.c
index 4dd2ea12505a55b70dbee1faa4a73359b4e96634..de3fab53cfa4a17e8663373febdaabf082695d18 100644
(file)
--- 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];