From 847367dfc9ff4e757788d3eff4f6f39f76e30feb Mon Sep 17 00:00:00 2001 From: Piotr Caban Date: Mon, 30 Nov 2020 10:10:20 +0100 Subject: [PATCH] msvcr100/tests: Use wide-char string literals. Signed-off-by: Piotr Caban Signed-off-by: Alexandre Julliard --- dlls/msvcr100/tests/msvcr100.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dlls/msvcr100/tests/msvcr100.c b/dlls/msvcr100/tests/msvcr100.c index 8ac8f4ea3b8..bdd44fa405a 100644 --- a/dlls/msvcr100/tests/msvcr100.c +++ b/dlls/msvcr100/tests/msvcr100.c @@ -374,8 +374,8 @@ static BOOL init(void) static void test_wmemcpy_s(void) { static wchar_t dest[8], buf[32]; - static const wchar_t tiny[] = {'T',0,'I','N','Y',0}; - static const wchar_t big[] = {'a','t','o','o','l','o','n','g','s','t','r','i','n','g',0}; + static const wchar_t tiny[] = L"T\0INY"; + static const wchar_t big[] = L"atoolongstring"; const wchar_t XX = 0x5858; /* two 'X' bytes */ int ret; @@ -455,8 +455,8 @@ static void test_wmemcpy_s(void) static void test_wmemmove_s(void) { static wchar_t dest[8]; - static const wchar_t tiny[] = {'T',0,'I','N','Y',0}; - static const wchar_t big[] = {'a','t','o','o','l','o','n','g','s','t','r','i','n','g',0}; + static const wchar_t tiny[] = L"T\0INY"; + static const wchar_t big[] = L"atoolongstring"; const wchar_t XX = 0x5858; /* two 'X' bytes */ int ret; -- 2.11.4.GIT