fixed invalid cast

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@3597 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
bellard 2007-11-11 17:25:52 +00:00
parent c16f9ed3ad
commit ac2567b59d

View File

@ -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);