From 08c01f715fd4b5b98aba9e359759bfe49b263c9c Mon Sep 17 00:00:00 2001 From: Marcus Overhagen Date: Sun, 17 Feb 2008 19:18:31 +0000 Subject: [PATCH] gcc4 build fix git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23992 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/kernel/arch/x86/arch_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/kernel/arch/x86/arch_thread.cpp b/src/system/kernel/arch/x86/arch_thread.cpp index 7a033a8476..e27a649454 100644 --- a/src/system/kernel/arch/x86/arch_thread.cpp +++ b/src/system/kernel/arch/x86/arch_thread.cpp @@ -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)