gcc4 build fix

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23992 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Marcus Overhagen 2008-02-17 19:18:31 +00:00
parent b91371e409
commit 08c01f715f

View File

@ -481,7 +481,7 @@ arch_setup_signal_frame(struct thread *thread, struct sigaction *action,
userStack -= ((uint32)i386_end_return_from_signal + 3
- (uint32)i386_return_from_signal) / 4;
signalCode = userStack;
status = user_memcpy(signalCode, i386_return_from_signal,
status = user_memcpy(signalCode, (const void *)&i386_return_from_signal,
((uint32)i386_end_return_from_signal
- (uint32)i386_return_from_signal));
if (status < B_OK)