From 5c8a03c48fa6507cab82f6f6602d7aa7ab49e0c5 Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 5 Aug 2013 08:31:47 +0000 Subject: gas/ * config/tc-mips.c (mips_lookup_insn): Make length and opend signed. --- gas/ChangeLog | 4 ++++ gas/config/tc-mips.c | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'gas') diff --git a/gas/ChangeLog b/gas/ChangeLog index 21eab91378..042f9de1db 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2013-08-05 Richard Sandiford + + * config/tc-mips.c (mips_lookup_insn): Make length and opend signed. + 2013-08-04 Jürgen Urban Richard Sandiford diff --git a/gas/config/tc-mips.c b/gas/config/tc-mips.c index 4255f934f3..1c79634bb8 100644 --- a/gas/config/tc-mips.c +++ b/gas/config/tc-mips.c @@ -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. */ -- cgit v1.2.1