aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sim/arm/armos.c')
-rw-r--r--sim/arm/armos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sim/arm/armos.c b/sim/arm/armos.c
index 76c449b73d0..2ce7051a44c 100644
--- a/sim/arm/armos.c
+++ b/sim/arm/armos.c
@@ -293,8 +293,8 @@ SWIread (ARMul_State * state, ARMword f, ARMword ptr, ARMword len)
{
sim_callback->printf_filtered
(sim_callback,
- "sim: Unable to read 0x%ulx bytes - out of memory\n",
- len);
+ "sim: Unable to read 0x%lx bytes - out of memory\n",
+ (long)len);
return;
}