aboutsummaryrefslogtreecommitdiff
path: root/microblaze-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'microblaze-dis.c')
-rw-r--r--microblaze-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/microblaze-dis.c b/microblaze-dis.c
index b26572faf8..9235fd898a 100644
--- a/microblaze-dis.c
+++ b/microblaze-dis.c
@@ -826,7 +826,7 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info)
prev_insn_vma = curr_insn_vma;
if (op->name == 0) {
- fprintf (stream, ".short 0x%04x", inst);
+ fprintf (stream, ".short 0x%04lx", inst);
}
else
{
@@ -959,7 +959,7 @@ print_insn_microblaze (bfd_vma memaddr, struct disassemble_info * info)
break;
default:
/* if the disassembler lags the instruction set */
- fprintf (stream, "\tundecoded operands, inst is 0x%04x", inst);
+ fprintf (stream, "\tundecoded operands, inst is 0x%04lx", inst);
break;
}
}