Merge MSVC fixes from cmake branch
[reactos.git] / reactos / ntoskrnl / include / internal / ex.h
index 3ef2138..7c26af3 100644 (file)
@@ -1143,7 +1143,7 @@ ExReleasePushLockExclusive(PEX_PUSH_LOCK PushLock)
 
     /* Unlock the pushlock */
     OldValue.Value = InterlockedExchangeAddSizeT((PSIZE_T)PushLock,
-                                                 -(SIZE_T)EX_PUSH_LOCK_LOCK);
+                                                 -(SSIZE_T)EX_PUSH_LOCK_LOCK);
 
     /* Sanity checks */
     ASSERT(OldValue.Locked);