Hi Ingo, I'm not the only one to break the build today :))

gcc4 fix.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23397 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol
2008-01-11 14:01:19 +00:00
parent c6b3f26049
commit f293c7cb52
+2 -2
View File
@@ -60,7 +60,7 @@ init_amd_syscall_registers(void* dummy, int cpuNum)
static status_t
initialize_commpage_syscall(void)
{
void* syscallCode = &_user_syscall_int;
void* syscallCode = (void *)&_user_syscall_int;
void* syscallCodeEnd = &_user_syscall_int_end;
// check syscall
@@ -71,7 +71,7 @@ initialize_commpage_syscall(void)
dprintf("initialize_commpage_syscall(): sysenter/sysexit supported\n");
// the code to be used in userland
syscallCode = &_user_syscall_sysenter;
syscallCode = (void *)&_user_syscall_sysenter;
syscallCodeEnd = &_user_syscall_sysenter_end;
// tell all CPUs to init their sysenter/sysexit related registers