From da8bca9157fe449b3226ec603ea71c1631c0bb1e Mon Sep 17 00:00:00 2001 From: Richard Sandiford Date: Mon, 5 Aug 2013 08:31:48 +0000 Subject: [PATCH] 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(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 21eab91378e..042f9de1dbe 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 4255f934f34..1c79634bb88 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. */ -- 2.30.2