mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-26 19:33:31 +00:00
[RTL] Fix a typo & remove useless cast
This commit is contained in:
+1
-1
@@ -791,5 +791,5 @@ BOOLEAN
|
||||
NTAPI
|
||||
RtlTryAcquireSRWLockExclusive(PRTL_SRWLOCK SRWLock)
|
||||
{
|
||||
return InterlockedCompareExchangePointer(&SRWLock->Ptr, (ULONG_PTR*)(ULONG_PTR)RTL_SRWLOCK_SHARED, 0) == 0;
|
||||
return InterlockedCompareExchangePointer(&SRWLock->Ptr, (ULONG_PTR*)RTL_SRWLOCK_OWNED, 0) == 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user