Marcus Meissner : ws2_32/tests: Fixed argument to GetComputerNameExW.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Sep 10 08:07:53 CDT 2015
Module: wine
Branch: master
Commit: 5af9acadb6b5b162b137476482308e4e548b32db
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5af9acadb6b5b162b137476482308e4e548b32db
Author: Marcus Meissner <marcus at jet.franken.de>
Date: Wed Sep 9 21:47:14 2015 +0200
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 fa1236e..2bcc92e 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)
{
More information about the wine-cvs
mailing list