diff options
author | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2006-03-20 21:37:54 +0000 |
---|---|---|
committer | Stefan Reinauer <stefan.reinauer@coreboot.org> | 2006-03-20 21:37:54 +0000 |
commit | 394d137491061a506269653f6a6156c9670c40b0 (patch) | |
tree | 399693e8b4c808562241a3771cfda8bdde0a1b14 | |
parent | 8cf74b4ca9b764a364a3167c0bf291d62ee873b2 (diff) | |
download | flashrom-394d137491061a506269653f6a6156c9670c40b0.tar.gz flashrom-394d137491061a506269653f6a6156c9670c40b0.tar.bz2 flashrom-394d137491061a506269653f6a6156c9670c40b0.zip |
Compilation fix for gcc 4.0.2 (SUSE10)
Corresponding to flashrom svn r50 and coreboot v2 svn r2220.
-rw-r--r-- | sst49lf040.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sst49lf040.c b/sst49lf040.c index 641521a4..2823ec23 100644 --- a/sst49lf040.c +++ b/sst49lf040.c @@ -60,12 +60,12 @@ int write_49lf040(struct flashchip *flash, uint8_t *buf) erase_sector_jedec(bios, i * page_size); /* write to the sector */ - if(i&0xfff==0xfff) + if((i&0xfff)==0xfff) printf("%04d at address: 0x%08x ", i, i * page_size); write_sector_jedec(bios, buf + i * page_size, bios + i * page_size, page_size); - if(i&0xfff==0xfff) + if((i&0xfff)==0xfff) printf("\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b"); fflush(stdout); } |