[PATCH 2/3] ntdll/tests: Fix compilation with PSDK compiler.

Dmitry Timoshkov dmitry at baikal.ru
Wed Sep 11 22:37:57 CDT 2019


Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
---
 dlls/ntdll/tests/rtlstr.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/ntdll/tests/rtlstr.c b/dlls/ntdll/tests/rtlstr.c
index 8b948fa82a..c2c82516cc 100644
--- a/dlls/ntdll/tests/rtlstr.c
+++ b/dlls/ntdll/tests/rtlstr.c
@@ -1970,7 +1970,7 @@ static void test_RtlHashUnicodeString(void)
     status = pRtlHashUnicodeString(NULL, FALSE, HASH_STRING_ALGORITHM_X65599, &hash);
     ok(status == STATUS_INVALID_PARAMETER, "got status 0x%08x\n", status);
 
-    RtlInitUnicodeString(&str, strW);
+    pRtlInitUnicodeString(&str, strW);
     status = pRtlHashUnicodeString(&str, FALSE, HASH_STRING_ALGORITHM_X65599, NULL);
     ok(status == STATUS_INVALID_PARAMETER, "got status 0x%08x\n", status);
 
@@ -1988,7 +1988,7 @@ static void test_RtlHashUnicodeString(void)
     ptr = hash_test;
     while (*ptr->str)
     {
-        RtlInitUnicodeString(&str, ptr->str);
+        pRtlInitUnicodeString(&str, ptr->str);
         hash = 0;
         status = pRtlHashUnicodeString(&str, ptr->case_insensitive, HASH_STRING_ALGORITHM_X65599, &hash);
         ok(status == STATUS_SUCCESS, "got status 0x%08x for %s\n", status, wine_dbgstr_w(ptr->str));
-- 
2.20.1




More information about the wine-devel mailing list