summaryrefslogtreecommitdiff
path: root/sim/common/cgen-trace.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/common/cgen-trace.c')
-rw-r--r--sim/common/cgen-trace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/common/cgen-trace.c b/sim/common/cgen-trace.c
index 3df30c5583..e79e93c7b3 100644
--- a/sim/common/cgen-trace.c
+++ b/sim/common/cgen-trace.c
@@ -366,8 +366,8 @@ sim_disasm_perror_memory (int status, bfd_vma memaddr,
/* Actually, address between memaddr and memaddr + len was
out of bounds. */
info->fprintf_func (info->stream,
- "Address 0x%" BFD_VMA_FMT "x is out of bounds.",
- memaddr);
+ "Address 0x%" PRIx64 " is out of bounds.",
+ (uint64_t) memaddr);
}
/* Disassemble using the CGEN opcode table.