Author: sserapion
Date: Thu Oct 29 23:41:26 2009
New Revision: 43838
URL:
http://svn.reactos.org/svn/reactos?rev=43838&view=rev
Log:
Fix csrss build.
Modified:
branches/ros-amd64-bringup/reactos/subsystems/win32/csrss/api/handle.c
Modified: branches/ros-amd64-bringup/reactos/subsystems/win32/csrss/api/handle.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/subsy…
==============================================================================
--- branches/ros-amd64-bringup/reactos/subsystems/win32/csrss/api/handle.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/subsystems/win32/csrss/api/handle.c [iso-8859-1]
Thu Oct 29 23:41:26 2009
@@ -188,7 +188,7 @@
ProcessData->HandleTable[i].Object = Object;
ProcessData->HandleTable[i].Access = Access;
ProcessData->HandleTable[i].Inheritable = Inheritable;
- *Handle = (HANDLE)((i << 2) | 0x3);
+ *Handle = ULongToHandle(((i << 2) | 0x3));
_InterlockedIncrement( &Object->ReferenceCount );
RtlLeaveCriticalSection(&ProcessData->HandleTableLock);
return(STATUS_SUCCESS);