diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-11-09 01:20:32 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-11-09 01:20:32 +0000 |
commit | a3cf92e5b2d793feb837ed300b35050b6c7c1365 (patch) | |
tree | 9001d176185b82cda21d4a7b8a1f9b2072050b3b /opcodes | |
parent | 1b3b0c0343cb794db4efcdac42499dc5f304c11d (diff) | |
download | fsf-binutils-gdb-a3cf92e5b2d793feb837ed300b35050b6c7c1365.zip fsf-binutils-gdb-a3cf92e5b2d793feb837ed300b35050b6c7c1365.tar.gz fsf-binutils-gdb-a3cf92e5b2d793feb837ed300b35050b6c7c1365.tar.bz2 |
* a29k-dis.c (print_special): Change num to unsigned int.
Wed Nov 8 20:10:35 1995 Eric Freudenthal <freudenthal@nyu.edu>
* a29k-dis.c (print_insn): Cast insn24 to unsigned long when
shifting it.
Diffstat (limited to 'opcodes')
-rw-r--r-- | opcodes/a29k-dis.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/a29k-dis.c b/opcodes/a29k-dis.c index 74697c7..46245e7 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; |