Author: tkreuzer
Date: Sat Sep 19 18:13:34 2009
New Revision: 43082
URL:
http://svn.reactos.org/svn/reactos?rev=43082&view=rev
Log:
merge from amd-64 branch:
r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]
Modified:
trunk/reactos/base/applications/msconfig/startuppage.c
Modified: trunk/reactos/base/applications/msconfig/startuppage.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/msconfig…
==============================================================================
--- trunk/reactos/base/applications/msconfig/startuppage.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/msconfig/startuppage.c [iso-8859-1] Sat Sep 19
18:13:34 2009
@@ -185,10 +185,10 @@
switch (PtrToLong(hRootKey))
{
- case PtrToLong(HKEY_LOCAL_MACHINE):
+ case (ULONG_PTR)HKEY_LOCAL_MACHINE:
_tcscpy(Path, _T("HKLM\\\0"));
break;
- case PtrToLong(HKEY_CURRENT_USER):
+ case (ULONG_PTR)HKEY_CURRENT_USER:
_tcscpy(Path, _T("HKCU\\\0"));
break;
default: