diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-07-13 23:31:37 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2013-07-13 23:31:37 +0000 |
commit | c2333751c411b5265326d866f810017cd561643c (patch) | |
tree | 574e4a82e15854b6bc4393c5f56005fe2b4bda9c /sst49lfxxxc.c | |
parent | 11990da1d3a4ca913ed5b85888a37188c4a621db (diff) | |
download | ast2050-flashrom-c2333751c411b5265326d866f810017cd561643c.zip ast2050-flashrom-c2333751c411b5265326d866f810017cd561643c.tar.gz |
Use uintptr_t for chipaddr instead of unsigned long
Corresponding to flashrom svn r1698.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r-- | sst49lfxxxc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c index bb21559..3d17b5b 100644 --- a/sst49lfxxxc.c +++ b/sst49lfxxxc.c @@ -41,7 +41,7 @@ static int write_lockbits_49lfxxxc(struct flashctx *flash, unsigned char bits) unsigned int i, left = flash->chip->total_size * 1024; unsigned long address; - msg_cdbg("\nbios=0x%08lx\n", registers); + msg_cdbg("\nbios=0x%08" PRIxPTR "\n", registers); for (i = 0; left > 65536; i++, left -= 65536) { write_lockbits_block_49lfxxxc(flash, i * 65536, bits); } |