aboutsummaryrefslogtreecommitdiff
path: root/sim/m32c/load.c
diff options
context:
space:
mode:
Diffstat (limited to 'sim/m32c/load.c')
-rw-r--r--sim/m32c/load.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/m32c/load.c b/sim/m32c/load.c
index 156a275..86e774e 100644
--- a/sim/m32c/load.c
+++ b/sim/m32c/load.c
@@ -97,8 +97,8 @@ m32c_load (bfd * prog)
base = bfd_section_lma (s);
if (verbose)
- fprintf (stderr, "[load a=%08x s=%08x %s]\n",
- (int) base, (int) size, bfd_section_name (s));
+ fprintf (stderr, "[load a=%08" BFD_VMA_FMT "x s=%08x %s]\n",
+ base, (int) size, bfd_section_name (s));
buf = (char *) malloc (size);
bfd_get_section_contents (prog, s, buf, 0, size);
mem_put_blk (base, buf, size);