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

Alexandre Julliard julliard at winehq.org
Thu Oct 1 15:50:30 CDT 2020


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Wed Sep 30 23:14:54 2020 +0200

dhcpcsvc/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/dhcpcsvc/tests/dhcpcsvc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dlls/dhcpcsvc/tests/dhcpcsvc.c b/dlls/dhcpcsvc/tests/dhcpcsvc.c
index 8b47fe57d5..547fb51532 100644
--- a/dlls/dhcpcsvc/tests/dhcpcsvc.c
+++ b/dlls/dhcpcsvc/tests/dhcpcsvc.c
@@ -43,7 +43,7 @@ static IP_ADAPTER_ADDRESSES *get_adapters(void)
 
 static void test_DhcpRequestParams(void)
 {
-    static WCHAR nosuchW[] = {'n','o','s','u','c','h','a','d','a','p','t','e','r',0};
+    static WCHAR nosuchW[] = L"nosuchadapter";
     DHCPCAPI_PARAMS params[6];
     DHCPCAPI_PARAMS_ARRAY send_params, recv_params;
     IP_ADAPTER_ADDRESSES *adapters, *ptr;




More information about the wine-cvs mailing list