[PATCH] wldap32/tests: Use wide-char string literals.

Michael Stefaniuc mstefani at winehq.org
Sun Dec 13 05:42:00 CST 2020


Signed-off-by: Michael Stefaniuc <mstefani 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 );
-- 
2.26.2




More information about the wine-devel mailing list