mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +00:00
properly reset the reference counter in ExReInitializeRundownProtection()
svn path=/trunk/; revision=18425
This commit is contained in:
@@ -94,9 +94,9 @@ ExReInitializeRundownProtection (
|
||||
|
||||
/* Reset the count */
|
||||
#ifdef _WIN64
|
||||
InterlockedExchangeAdd64((LONGLONG*)&RunRef->Count, 0LL);
|
||||
InterlockedExchange64((LONGLONG*)&RunRef->Count, 0LL);
|
||||
#else
|
||||
InterlockedExchangeAdd((LONG*)&RunRef->Count, 0);
|
||||
InterlockedExchange((LONG*)&RunRef->Count, 0);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user