path: root/82802ab.c
diff options
authorStefan Tauner <>2011-11-23 09:13:48 +0000
committerStefan Tauner <>2011-11-23 09:13:48 +0000
commitc69c9c84e0341b701d9966fea8ce54d4e017bbb7 (patch)
tree2ea0b12abf9dd3483246423752239b88c6d7942e /82802ab.c
parent8ca4255d7968dbf6301367074cc7267d22a25658 (diff)
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 <> Acked-by: Carl-Daniel Hailfinger <>
Diffstat (limited to '82802ab.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/82802ab.c b/82802ab.c
index ff2f535..8f671c9 100644
--- a/82802ab.c
+++ b/82802ab.c
@@ -141,7 +141,7 @@ int erase_block_82802ab(struct flashchip *flash, unsigned int page,
/* chunksize is 1 */
-int write_82802ab(struct flashchip *flash, uint8_t *src, int start, int len)
+int write_82802ab(struct flashchip *flash, uint8_t *src, unsigned int start, unsigned int len)
int i;
chipaddr dst = flash->virtual_memory + start;
OpenPOWER on IntegriCloud