* 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.
This commit is contained in:
Ian Lance Taylor 1995-11-09 01:20:32 +00:00
parent 1b3b0c0343
commit a3cf92e5b2
1 changed files with 2 additions and 2 deletions

View File

@ -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;