Fix cast.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22705 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
François Revol 2007-10-25 00:44:09 +00:00
parent 00c8f3104c
commit 8848d5972f

View File

@ -25,7 +25,7 @@ arch_thread_get_current_thread(void)
{
uint64 v = 0;
asm volatile("pmove %%srp,(%0)" : : "a"(&v));
return (struct thread *)(v & 0xffffffff);
return (struct thread *)(uint32)(v & 0xffffffff);
}