aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 17:25:52 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2007-11-11 17:25:52 +0000
commitac2567b59d9e4afbcc31c71840d7fe8ef4eee857 (patch)
treef2113d23af739db4c6689f5dc778f9588ab52f3d /linux-user
parentc16f9ed3adce9e930c296f167d48f4cb193fe59e (diff)
fixed invalid cast
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3597 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-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);