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

Alexandre Julliard julliard at winehq.org
Wed Dec 9 15:38:57 CST 2020


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

Author: Michael Stefaniuc <mstefani at winehq.org>
Date:   Wed Dec  9 00:33:57 2020 +0100

dnsapi/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/dnsapi/tests/record.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/dnsapi/tests/record.c b/dlls/dnsapi/tests/record.c
index 8d7b4974e83..c2f61b40843 100644
--- a/dlls/dnsapi/tests/record.c
+++ b/dlls/dnsapi/tests/record.c
@@ -28,8 +28,8 @@
 
 #include "wine/test.h"
 
-static WCHAR name1[] = {'l','o','c','a','l','h','o','s','t',0};
-static WCHAR name2[] = {'L','O','C','A','L','H','O','S','T',0};
+static WCHAR name1[] = L"localhost";
+static WCHAR name2[] = L"LOCALHOST";
 
 static DNS_RECORDW r1 = { NULL, name1, DNS_TYPE_A, sizeof(DNS_A_DATA), { 0 }, 1200, 0, { { 0xffffffff } } };
 static DNS_RECORDW r2 = { NULL, name1, DNS_TYPE_A, sizeof(DNS_A_DATA), { 0 }, 1200, 0, { { 0xffffffff } } };




More information about the wine-cvs mailing list