Commit ac2567b59d9e4afbcc31c71840d7fe8ef4eee857

Authored by bellard
1 parent c16f9ed3

fixed invalid cast


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3597 c046a42c-6fe2-441c-8c8c-71466251a162
Showing 1 changed file with 1 additions and 1 deletions
linux-user/m68k-sim.c
... ... @@ -129,7 +129,7 @@ void do_m68k_simcall(CPUM68KState *env, int nr)
129 129 {
130 130 int32_t ret;
131 131  
132   - ret = do_brk((void *)ARG(0));
  132 + ret = do_brk((abi_ulong)ARG(0));
133 133 if (ret == -ENOMEM)
134 134 ret = -1;
135 135 check_err(env, ret);
... ...