summaryrefslogtreecommitdiff
path: root/opcodes/d10v-dis.c
diff options
context:
space:
mode:
Diffstat (limited to 'opcodes/d10v-dis.c')
-rw-r--r--opcodes/d10v-dis.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/opcodes/d10v-dis.c b/opcodes/d10v-dis.c
index 55a3fd6ce8..61d7f757fd 100644
--- a/opcodes/d10v-dis.c
+++ b/opcodes/d10v-dis.c
@@ -182,7 +182,7 @@ dis_long (unsigned long insn,
}
if (!match)
- (*info->fprintf_func) (info->stream, ".long\t0x%08x", insn);
+ (*info->fprintf_func) (info->stream, ".long\t0x%08lx", insn);
if (need_paren)
(*info->fprintf_func) (info->stream, ")");
@@ -255,7 +255,7 @@ dis_2_short (unsigned long insn,
}
if (num_match == 0)
- (*info->fprintf_func) (info->stream, ".long\t0x%08x", insn);
+ (*info->fprintf_func) (info->stream, ".long\t0x%08lx", insn);
if (need_paren)
(*info->fprintf_func) (info->stream, ")");