properly reset the reference counter in ExReInitializeRundownProtection()
Modified: trunk/reactos/ntoskrnl/ex/rundown.c

Modified: trunk/reactos/ntoskrnl/ex/rundown.c
--- trunk/reactos/ntoskrnl/ex/rundown.c	2005-10-13 08:15:52 UTC (rev 18424)
+++ trunk/reactos/ntoskrnl/ex/rundown.c	2005-10-13 10:29:04 UTC (rev 18425)
@@ -94,9 +94,9 @@
 
     /* 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
 }