aboutsummaryrefslogtreecommitdiff
path: root/linux-user/m68k-sim.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux-user/m68k-sim.c')
-rw-r--r--linux-user/m68k-sim.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/m68k-sim.c b/linux-user/m68k-sim.c
index aab82dd7ec..61c2468752 100644
--- a/linux-user/m68k-sim.c
+++ b/linux-user/m68k-sim.c
@@ -129,7 +129,7 @@ void do_m68k_simcall(CPUM68KState *env, int nr)
{
int32_t ret;
- ret = do_brk((void *)ARG(0));
+ ret = do_brk((abi_ulong)ARG(0));
if (ret == -ENOMEM)
ret = -1;
check_err(env, ret);