mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 01:55:19 +00:00
[RTL] Fix a typo & remove useless cast
This commit is contained in:
parent
1509f0e536
commit
d712c895fd
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue