mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
fix NtCurrentTeb()
svn path=/branches/ros-amd64-bringup/; revision=34713
This commit is contained in:
@@ -4153,7 +4153,7 @@ static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||
#elif defined (_M_AMD64)
|
||||
FORCEINLINE struct _TEB * NtCurrentTeb(VOID)
|
||||
{
|
||||
return __readgsqword(FIELD_OFFSET(NT_TIB, Self));
|
||||
return (struct _TEB *)__readgsqword(FIELD_OFFSET(NT_TIB, Self));
|
||||
}
|
||||
#else
|
||||
static __inline__ struct _TEB * NtCurrentTeb(void)
|
||||
|
||||
Reference in New Issue
Block a user