Author: tkreuzer
Date: Sun Dec 7 04:56:42 2008
New Revision: 37909
URL:
http://svn.reactos.org/svn/reactos?rev=37909&view=rev
Log:
don't truncate a handle
Modified:
branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c
Modified: branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/base/system/services/rpcserver.c [iso-8859-1] Sun
Dec 7 04:56:42 2008
@@ -1018,7 +1018,7 @@
return ERROR_INVALID_HANDLE;
}
- lpService = ScmGetServiceEntryByClientHandle(LongToPtr(hServiceStatus));
+ lpService = ScmGetServiceEntryByClientHandle((HANDLE)hServiceStatus);
if (lpService == NULL)
{
DPRINT1("lpService == NULL!\n");