From 926bcb9721bd96d8ec571cae7737b8e4c6d2dfe3 Mon Sep 17 00:00:00 2001 From: Samuel Serapion Date: Thu, 29 Oct 2009 22:41:26 +0000 Subject: [PATCH] Fix csrss build. svn path=/branches/ros-amd64-bringup/; revision=43838 --- reactos/subsystems/win32/csrss/api/handle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsystems/win32/csrss/api/handle.c b/reactos/subsystems/win32/csrss/api/handle.c index c51828af578..6bcd61a70ca 100644 --- a/reactos/subsystems/win32/csrss/api/handle.c +++ b/reactos/subsystems/win32/csrss/api/handle.c @@ -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);