Use Ascii functions explicitly.
authorJon Griffiths <jon_p_griffiths@yahoo.com>
Mon, 3 Jan 2005 14:36:47 +0000 (14:36 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Mon, 3 Jan 2005 14:36:47 +0000 (14:36 +0000)
dlls/shlwapi/tests/shreg.c

index 3a9e3a78e07955288237c4ae59d7ea531c33ec93..c5006a2155cd1a5ebd66ca8f2fe7fae4f4ed98a4 100644 (file)
@@ -296,8 +296,8 @@ static void test_SHDeleteKey()
     {
         HKEY hKeyS;
         DWORD dwRet;
-        ok (!SHDeleteKey(HKEY_CURRENT_USER, REG_TEST_KEY "\\ODBC"), "SHDeleteKey failed\n");
-        ok ((dwRet = RegOpenKey(HKEY_CURRENT_USER, REG_TEST_KEY "\\ODBC", &hKeyS)) == ERROR_FILE_NOT_FOUND, "SHDeleteKey did not delete\n");
+        ok (!SHDeleteKeyA(HKEY_CURRENT_USER, REG_TEST_KEY "\\ODBC"), "SHDeleteKey failed\n");
+        ok ((dwRet = RegOpenKeyA(HKEY_CURRENT_USER, REG_TEST_KEY "\\ODBC", &hKeyS)) == ERROR_FILE_NOT_FOUND, "SHDeleteKey did not delete\n");
         if (dwRet == ERROR_SUCCESS)
             RegCloseKey (hKeyS);
     }