diff options
author | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-11-23 09:13:48 +0000 |
---|---|---|
committer | Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at> | 2011-11-23 09:13:48 +0000 |
commit | c69c9c84e0341b701d9966fea8ce54d4e017bbb7 (patch) | |
tree | 2ea0b12abf9dd3483246423752239b88c6d7942e /pm49fl00x.c | |
parent | 8ca4255d7968dbf6301367074cc7267d22a25658 (diff) | |
download | flashrom-c69c9c84e0341b701d9966fea8ce54d4e017bbb7.tar.gz flashrom-c69c9c84e0341b701d9966fea8ce54d4e017bbb7.tar.bz2 flashrom-c69c9c84e0341b701d9966fea8ce54d4e017bbb7.zip |
Unsignify lengths and addresses in chip functions and structs
Push those changes forward where needed to prevent new sign
conversion warnings where possible.
Corresponding to flashrom svn r1470.
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 'pm49fl00x.c')
-rw-r--r-- | pm49fl00x.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pm49fl00x.c b/pm49fl00x.c index 28052e5fc..13992a38a 100644 --- a/pm49fl00x.c +++ b/pm49fl00x.c @@ -22,10 +22,10 @@ #include "flash.h" -static void write_lockbits_49fl00x(chipaddr bios, int size, - unsigned char bits, int block_size) +static void write_lockbits_49fl00x(chipaddr bios, unsigned int size, + unsigned char bits, unsigned int block_size) { - int i, left = size; + unsigned int i, left = size; for (i = 0; left >= block_size; i++, left -= block_size) { /* pm49fl002 */ |