[PATCH] dnsapi/tests: Use wide-char string literals.
Michael Stefaniuc
mstefani at winehq.org
Tue Dec 8 17:33:57 CST 2020
Signed-off-by: Michael Stefaniuc <mstefani 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 } } };
--
2.26.2
More information about the wine-devel
mailing list