merge from amd-64 branch:

r40992: msconfig: don't use inline functions as case labels [[Timo Kreuzer]]

svn path=/trunk/; revision=43082
This commit is contained in:
Timo Kreuzer 2009-09-19 16:13:34 +00:00
parent 6ca1f0de19
commit db120f8686

View file

@ -185,10 +185,10 @@ GetAutostartEntriesFromRegistry ( HKEY hRootKey, TCHAR* KeyName )
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: