Author: tkreuzer
Date: Wed May 20 00:41:44 2009
New Revision: 40992
URL:
http://svn.reactos.org/svn/reactos?rev=40992&view=rev
Log:
msconfig: don't use inline functions as case labels
Modified:
branches/ros-amd64-bringup/reactos/base/applications/msconfig/startuppage.c
Modified: branches/ros-amd64-bringup/reactos/base/applications/msconfig/startuppage.c
URL:
http://svn.reactos.org/svn/reactos/branches/ros-amd64-bringup/reactos/base/…
==============================================================================
--- branches/ros-amd64-bringup/reactos/base/applications/msconfig/startuppage.c
[iso-8859-1] (original)
+++ branches/ros-amd64-bringup/reactos/base/applications/msconfig/startuppage.c
[iso-8859-1] Wed May 20 00:41:44 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: