mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
Fix csrss build.
svn path=/branches/ros-amd64-bringup/; revision=43838
This commit is contained in:
@@ -188,7 +188,7 @@ CsrInsertObject(
|
||||
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);
|
||||
|
||||
Reference in New Issue
Block a user