diff mbox

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

Message ID 1456847859-4771-4-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
---
 disas/sh4.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
2.7.1
diff mbox

Patch

diff --git a/disas/sh4.c b/disas/sh4.c
index 8b0415d..24653a4 100644
--- a/disas/sh4.c
+++ b/disas/sh4.c
@@ -2031,7 +2031,7 @@  print_insn_sh (bfd_vma memaddr, struct disassemble_info *info)

       if (disp_pc && strcmp (op->name, "mova") != 0)
 	{
-	  int size;
+	  size_t size;
 	  bfd_byte bytes[4];

 	  if (relmask == ~(bfd_vma) 1)