mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 04:13:33 +00:00
Merge merge 34713 from ros-amd64-bringup branch:
fix NtCurrentTeb() svn path=/trunk/; revision=35639
This commit is contained in:
@@ -4145,7 +4145,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