Author: tkreuzer
Date: Wed Feb 8 17:16:00 2012
New Revision: 55495
URL:
http://svn.reactos.org/svn/reactos?rev=55495&view=rev
Log:
[ATL]
Fix an MSVC warning
Modified:
trunk/reactos/lib/atl/statreg.h
Modified: trunk/reactos/lib/atl/statreg.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/lib/atl/statreg.h?rev=5549…
==============================================================================
--- trunk/reactos/lib/atl/statreg.h [iso-8859-1] (original)
+++ trunk/reactos/lib/atl/statreg.h [iso-8859-1] Wed Feb 8 17:16:00 2012
@@ -470,7 +470,7 @@
return S_OK;
}
- inline unsigned int HexToBin(char a)
+ inline unsigned int HexToBin(OLECHAR a)
{
if (a >= '0' && a <= '9')
return a - '0';
@@ -489,14 +489,14 @@
LONG lres;
HKEY hkey;
strbuf name;
-
+
enum {
NORMAL,
NO_REMOVE,
IS_VAL,
FORCE_REMOVE,
DO_DELETE
- } key_type = NORMAL;
+ } key_type = NORMAL;
static const wchar_t *wstrNoRemove = _T("NoRemove");
static const wchar_t *wstrForceRemove = _T("ForceRemove");
@@ -531,7 +531,7 @@
if (FAILED(hres))
break;
}
-
+
if (do_register)
{
if (key_type == IS_VAL)
@@ -676,7 +676,7 @@
RegCloseKey(hkey);
hkey = 0;
name.len = 0;
-
+
hres = get_word(&iter, buf);
if (FAILED(hres))
break;