winhttp/tests: Remove LPVOID casts.
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com> Signed-off-by: Hans Leidekker <hans@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
a1d966e494
commit
69e5f90940
|
@ -1023,7 +1023,7 @@ START_TEST (notification)
|
||||||
si.event = CreateEventW( NULL, 0, 0, NULL );
|
si.event = CreateEventW( NULL, 0, 0, NULL );
|
||||||
si.port = 7533;
|
si.port = 7533;
|
||||||
|
|
||||||
thread = CreateThread( NULL, 0, server_thread, (LPVOID)&si, 0, NULL );
|
thread = CreateThread( NULL, 0, server_thread, &si, 0, NULL );
|
||||||
ok(thread != NULL, "failed to create thread %u\n", GetLastError());
|
ok(thread != NULL, "failed to create thread %u\n", GetLastError());
|
||||||
|
|
||||||
server_socket_available = CreateEventW( NULL, 0, 0, NULL );
|
server_socket_available = CreateEventW( NULL, 0, 0, NULL );
|
||||||
|
|
|
@ -4842,7 +4842,7 @@ START_TEST (winhttp)
|
||||||
si.event = CreateEventW(NULL, 0, 0, NULL);
|
si.event = CreateEventW(NULL, 0, 0, NULL);
|
||||||
si.port = 7532;
|
si.port = 7532;
|
||||||
|
|
||||||
thread = CreateThread(NULL, 0, server_thread, (LPVOID)&si, 0, NULL);
|
thread = CreateThread(NULL, 0, server_thread, &si, 0, NULL);
|
||||||
ok(thread != NULL, "failed to create thread %u\n", GetLastError());
|
ok(thread != NULL, "failed to create thread %u\n", GetLastError());
|
||||||
|
|
||||||
ret = WaitForSingleObject(si.event, 10000);
|
ret = WaitForSingleObject(si.event, 10000);
|
||||||
|
|
Loading…
Reference in New Issue