print_insn_* routines want bfd_vma, not CORE_ADDR

This commit is contained in:
Ken Raeburn 1993-05-25 20:12:59 +00:00
parent 9942e68438
commit 337fd0067c
2 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ print_insn (memaddr, stream)
/* print_insn_mips is in opcodes/mips-dis.c. */
if (TARGET_BYTE_ORDER == BIG_ENDIAN)
return print_insn_big_mips (memaddr, &info);
return print_insn_big_mips ((bfd_vma) memaddr, &info);
else
return print_insn_little_mips (memaddr, &info);
return print_insn_little_mips ((bfd_vma) memaddr, &info);
}

View File

@ -214,11 +214,11 @@ print_insn (memaddr, stream)
if (BIG)
{
return print_insn_z8001 (memaddr, &info);
return print_insn_z8001 ((bfd_vma) memaddr, &info);
}
else
{
return print_insn_z8002 (memaddr, &info);
return print_insn_z8002 ((bfd_vma) memaddr, &info);
}
}