? diff ? doc/as.info Index: config/tc-arm.c =================================================================== RCS file: /cvs/src/src/gas/config/tc-arm.c,v retrieving revision 1.210 diff -u -r1.210 tc-arm.c --- config/tc-arm.c 13 Jun 2005 15:34:37 -0000 1.210 +++ config/tc-arm.c 24 Jun 2005 17:02:00 -0000 @@ -225,8 +225,8 @@ struct { - unsigned reg; - unsigned imm; + int reg; + int imm; unsigned present : 1; /* operand present */ unsigned isreg : 1; /* operand was a register */ unsigned immisreg : 1; /* .imm field is a second register */ @@ -3567,7 +3567,7 @@ structure. Returns SUCCESS or FAIL depending on whether the specified grammar matched. */ static int -parse_operands (char *str, const char *pattern) +parse_operands (char *str, unsigned const char *pattern) { unsigned const char *upat = pattern; char *backtrack_pos = 0; @@ -5015,7 +5015,7 @@ static void do_shift (void) { - unsigned int Rm = (inst.operands[1].present + int Rm = (inst.operands[1].present ? inst.operands[1].reg : inst.operands[0].reg);