diff --git a/dlls/ws2_32/tests/sock.c b/dlls/ws2_32/tests/sock.c index 2e0ee2897dd..79d2aebc089 100644 --- a/dlls/ws2_32/tests/sock.c +++ b/dlls/ws2_32/tests/sock.c @@ -2021,7 +2021,7 @@ static void test_send(void) goto end; } - buffer = HeapAlloc(GetProcessHeap(), 0, buflen); + buffer = HeapAlloc(GetProcessHeap(), HEAP_ZERO_MEMORY, buflen); if (buffer == NULL) { ok(0, "HeapAlloc failed, error %d\n", GetLastError());