From 5af9acadb6b5b162b137476482308e4e548b32db Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 9 Sep 2015 21:47:14 +0200 Subject: [PATCH] ws2_32/tests: Fixed argument to GetComputerNameExW. --- dlls/ws2_32/tests/sock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index fa1236e4367..2bcc92e9770 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -6313,7 +6313,7 @@ static void test_GetAddrInfoW(void) int i, ret; ADDRINFOW *result, *result2, *p, hint; WCHAR name[256]; - DWORD size = sizeof(name); + DWORD size = sizeof(name)/sizeof(WCHAR); if (!pGetAddrInfoW || !pFreeAddrInfoW) {