Author: tkreuzer Date: Tue Jul 29 19:31:41 2008 New Revision: 34941
URL: http://svn.reactos.org/svn/reactos?rev=34941&view=rev Log: - fix usage of InterlockedExchangeAddSizeT
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ex.h
Modified: branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ex.h URL: http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/ntoskr... ============================================================================== --- branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] (original) +++ branches/ros-amd64-bringup/reactos/ntoskrnl/include/internal/ex.h [iso-8859-1] Tue Jul 29 19:31:41 2008 @@ -934,8 +934,8 @@ ASSERT(PushLock->Waiting || PushLock->Shared == 0);
/* Unlock the pushlock */ - OldValue.Value = InterlockedExchangeAddSizeT((PLONG)PushLock, - -(LONG)EX_PUSH_LOCK_LOCK); + OldValue.Value = InterlockedExchangeAddSizeT((PSIZE_T)PushLock, + -(SIZE_T)EX_PUSH_LOCK_LOCK);
/* Sanity checks */ ASSERT(OldValue.Locked);