mirror of
https://github.com/reactos/reactos.git
synced 2025-04-20 04:20:46 +00:00
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:
parent
6ca1f0de19
commit
db120f8686
1 changed files with 2 additions and 2 deletions
|
@ -185,10 +185,10 @@ GetAutostartEntriesFromRegistry ( HKEY hRootKey, TCHAR* KeyName )
|
||||||
|
|
||||||
switch (PtrToLong(hRootKey))
|
switch (PtrToLong(hRootKey))
|
||||||
{
|
{
|
||||||
case PtrToLong(HKEY_LOCAL_MACHINE):
|
case (ULONG_PTR)HKEY_LOCAL_MACHINE:
|
||||||
_tcscpy(Path, _T("HKLM\\\0"));
|
_tcscpy(Path, _T("HKLM\\\0"));
|
||||||
break;
|
break;
|
||||||
case PtrToLong(HKEY_CURRENT_USER):
|
case (ULONG_PTR)HKEY_CURRENT_USER:
|
||||||
_tcscpy(Path, _T("HKCU\\\0"));
|
_tcscpy(Path, _T("HKCU\\\0"));
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
|
|
Loading…
Reference in a new issue