gcc4 build fix
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23991 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
5d06d46935
commit
b91371e409
@ -395,7 +395,7 @@ arch_thread_enter_userspace(struct thread *t, addr_t entry, void *args1,
|
||||
// function returns, as well as the arguments of the entry function
|
||||
stackTop -= codeSize;
|
||||
|
||||
if (user_memcpy((void *)stackTop, x86_userspace_thread_exit, codeSize) < B_OK)
|
||||
if (user_memcpy((void *)stackTop, (const void *)&x86_userspace_thread_exit, codeSize) < B_OK)
|
||||
return B_BAD_ADDRESS;
|
||||
|
||||
args[0] = stackTop;
|
||||
|
Loading…
Reference in New Issue
Block a user