Dmitry Timoshkov : ntdll/tests: Fix compilation with PSDK compiler.

Alexandre Julliard julliard at winehq.org
Thu Sep 12 16:28:57 CDT 2019


Module: wine
Branch: master
Commit: 65e1ed3480929702f60ed8d1541e2cb0edc6d5eb
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=65e1ed3480929702f60ed8d1541e2cb0edc6d5eb

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Thu Sep 12 18:09:55 2019 +0800

ntdll/tests: Fix compilation with PSDK compiler.

Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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));




More information about the wine-cvs mailing list