aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gdb/mips-pinsn.c4
-rw-r--r--gdb/z8k-tdep.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/gdb/mips-pinsn.c b/gdb/mips-pinsn.c
index 530b2a7..199e335 100644
--- a/gdb/mips-pinsn.c
+++ b/gdb/mips-pinsn.c
@@ -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);
}
diff --git a/gdb/z8k-tdep.c b/gdb/z8k-tdep.c
index 10e4e4b..2021a2e 100644
--- a/gdb/z8k-tdep.c
+++ b/gdb/z8k-tdep.c
@@ -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);
}
}