Author: sserapion
Date: Sat Sep 6 10:52:53 2008
New Revision: 35989
URL:
http://svn.reactos.org/svn/reactos?rev=35989&view=rev
Log:
Merge 35977. Fix 64 bit portability issues. Thanks ekohl!
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] Sat
Sep 6 10:52:53 2008
@@ -1963,7 +1963,7 @@
if (dwError == ERROR_SUCCESS)
{
DPRINT("hService %p\n", hServiceHandle);
- *lpServiceHandle = (unsigned long)hServiceHandle; /* FIXME: 64 bit portability
*/
+ *lpServiceHandle = (SC_RPC_HANDLE)hServiceHandle;
if (lpdwTagId != NULL)
*lpdwTagId = lpService->dwTag;
@@ -2356,7 +2356,7 @@
return dwError;
}
- *lpScHandle = (unsigned long)hHandle; /* FIXME: 64 bit portability */
+ *lpScHandle = (SC_RPC_HANDLE)hHandle;
DPRINT("*hScm = %p\n", *lpScHandle);
DPRINT("ROpenSCManagerW() done\n");
@@ -2432,7 +2432,7 @@
lpService->dwRefCount++;
DPRINT1("OpenService - lpService->dwRefCount
%u\n",lpService->dwRefCount);
- *lpServiceHandle = (unsigned long)hHandle; /* FIXME: 64 bit portability */
+ *lpServiceHandle = (SC_RPC_HANDLE)hHandle;
DPRINT("*hService = %p\n", *lpServiceHandle);
DPRINT("ROpenServiceW() done\n");