Author: sserapion
Date: Sun Dec 14 22:28:45 2008
New Revision: 38100
URL:
http://svn.reactos.org/svn/reactos?rev=38100&view=rev
Log:
Accidentally undid 64 bit fixes, revert
Modified:
branches/ros-amd64-bringup/reactos/dll/win32/advapi32/reg/reg.c
Modified: branches/ros-amd64-bringup/reactos/dll/win32/advapi32/reg/reg.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/dll/w…
==============================================================================
--- branches/ros-amd64-bringup/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1]
(original)
+++ branches/ros-amd64-bringup/reactos/dll/win32/advapi32/reg/reg.c [iso-8859-1] Sun Dec
14 22:28:45 2008
@@ -41,9 +41,9 @@
NtClose(Handle); \
}
#define IsPredefKey(HKey) \
- (((ULONG)(HKey) & 0xF0000000) == 0x80000000)
+ (((ULONG_PTR)(HKey) & 0xF0000000) == 0x80000000)
#define GetPredefKeyIndex(HKey) \
- ((ULONG)(HKey) & 0x0FFFFFFF)
+ ((ULONG_PTR)(HKey) & 0x0FFFFFFF)
static NTSTATUS OpenClassesRootKey(PHANDLE KeyHandle);
static NTSTATUS OpenLocalMachineKey (PHANDLE KeyHandle);