Michael Stefaniuc : wldap32/tests: Use wide-char string literals.

Alexandre Julliard julliard at winehq.org
Mon Dec 14 15:51:17 CST 2020


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Sun Dec 13 12:42:00 2020 +0100

wldap32/tests: Use wide-char string literals.

Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/wldap32/tests/parse.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/wldap32/tests/parse.c b/dlls/wldap32/tests/parse.c
index c982be9e592..9fdd4db03ad 100644
--- a/dlls/wldap32/tests/parse.c
+++ b/dlls/wldap32/tests/parse.c
@@ -98,7 +98,7 @@ static void test_ldap_parse_sort_control( LDAP *ld )
 static void test_ldap_search_extW( LDAP *ld )
 {
     ULONG ret, message, timelimit;
-    WCHAR base[] = {0}, filter[] = {'o','u','=','*',0};
+    WCHAR base[] = L"", filter[] = L"ou=*";
 
     timelimit = 20;
     ret = ldap_search_extW( ld, base, LDAP_SCOPE_SUBTREE, filter, NULL, 0, NULL, NULL, timelimit, 0, &message );




More information about the wine-cvs mailing list