diff mbox

[v2,10/13] Use unsigned types for the 'len' argument of all memory read/write functions

Message ID 1456847859-4771-10-git-send-email-martin.galvan@tallertechnologies.com (mailing list archive)
State New, archived
Headers show

Commit Message

Martin Galvan March 1, 2016, 3:57 p.m. UTC
---
 scripts/coverity-model.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.7.1
diff mbox

Patch

diff --git a/scripts/coverity-model.c b/scripts/coverity-model.c
index ee5bf9d..97759b0 100644
--- a/scripts/coverity-model.c
+++ b/scripts/coverity-model.c
@@ -68,7 +68,7 @@  static void __bufread(uint8_t *buf, ssize_t len)
 }

 MemTxResult address_space_rw(AddressSpace *as, hwaddr addr, MemTxAttrs attrs,
-                             uint8_t *buf, int len, bool is_write)
+                             uint8_t *buf, size_t len, bool is_write)
 {
     MemTxResult result;