gas/
authorRichard Sandiford <rdsandiford@googlemail.com>
Mon, 5 Aug 2013 08:31:48 +0000 (08:31 +0000)
committerRichard Sandiford <rdsandiford@googlemail.com>
Mon, 5 Aug 2013 08:31:48 +0000 (08:31 +0000)
* config/tc-mips.c (mips_lookup_insn): Make length and opend signed.

gas/ChangeLog
gas/config/tc-mips.c

index 21eab91..042f9de 100644 (file)
@@ -1,3 +1,7 @@
+2013-08-05  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config/tc-mips.c (mips_lookup_insn): Make length and opend signed.
+
 2013-08-04  Jürgen Urban  <JuergenUrban@gmx.de>
            Richard Sandiford  <rdsandiford@googlemail.com>
 
index 4255f93..1c79634 100644 (file)
@@ -12307,11 +12307,11 @@ mips16_macro (struct mips_cl_insn *ip)
 
 static struct mips_opcode *
 mips_lookup_insn (struct hash_control *hash, const char *start,
-                 unsigned int length, unsigned int *opcode_extra)
+                 ssize_t length, unsigned int *opcode_extra)
 {
   char *name, *dot, *p;
   unsigned int mask, suffix;
-  size_t opend;
+  ssize_t opend;
   struct mips_opcode *insn;
 
   /* Make a copy of the instruction so that we can fiddle with it.  */