mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-29 07:53:44 +02:00
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>
This commit is contained in:
parent
f0c811dd15
commit
2fcc0b52e4
@ -250,7 +250,7 @@ int main(int argc, char *argv[])
|
|||||||
{
|
{
|
||||||
uint8_t *buf;
|
uint8_t *buf;
|
||||||
unsigned long size;
|
unsigned long size;
|
||||||
size_t erasedbytes;
|
uint32_t erasedbytes;
|
||||||
FILE *image;
|
FILE *image;
|
||||||
/* Probe for up to three flash chips. */
|
/* Probe for up to three flash chips. */
|
||||||
struct flashchip *flash, *flashes[3];
|
struct flashchip *flash, *flashes[3];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user