summaryrefslogtreecommitdiff
path: root/src/win32/registryKey.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2009-02-20 04:46:28 +0000
committerChristian Pointner <equinox@anytun.org>2009-02-20 04:46:28 +0000
commit55db0cbe0d156a172f7cfe269fa046171fe6e5ec (patch)
tree0802caacbed2f3104da502bee36101e0197eb910 /src/win32/registryKey.cpp
parentadded experimental win32 service code (diff)
code cleanup
Diffstat (limited to 'src/win32/registryKey.cpp')
-rw-r--r--src/win32/registryKey.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/win32/registryKey.cpp b/src/win32/registryKey.cpp
index 7112745..4ce92b9 100644
--- a/src/win32/registryKey.cpp
+++ b/src/win32/registryKey.cpp
@@ -108,7 +108,7 @@ DWORD RegistryKey::getSubKey(DWORD index, RegistryKey& subKey, REGSAM sam) const
{
char subkeyname[NAME_LENGTH];
DWORD len = sizeof(subkeyname);
- DWORD err = RegEnumKeyEx(key_, index, subkeyname, &len, NULL, NULL, NULL, NULL);
+ DWORD err = RegEnumKeyExA(key_, index, subkeyname, &len, NULL, NULL, NULL, NULL);
if(err != ERROR_SUCCESS)
return err;