From: Ian Lance Taylor Date: Thu, 9 Nov 1995 01:20:32 +0000 (+0000) Subject: * a29k-dis.c (print_special): Change num to unsigned int. X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=a3cf92e5b2d793feb837ed300b35050b6c7c1365;p=deliverable%2Fbinutils-gdb.git * a29k-dis.c (print_special): Change num to unsigned int. Wed Nov 8 20:10:35 1995 Eric Freudenthal * a29k-dis.c (print_insn): Cast insn24 to unsigned long when shifting it. --- diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c index 74697c70cc..46245e704b 100644 --- a/opcodes/a29k-dis.c +++ b/opcodes/a29k-dis.c @@ -43,7 +43,7 @@ print_general (num, info) assembler uses. */ static void print_special (num, info) - int num; + unsigned int num; struct disassemble_info *info; { /* Register names of registers 0-SPEC0_NUM-1. */ @@ -166,7 +166,7 @@ print_insn (memaddr, info) opcode < &a29k_opcodes[num_opcodes]; ++opcode) { - if ((insn24<<24) == opcode->opcode) + if (((unsigned long) insn24 << 24) == opcode->opcode) { char *s;