[PATCH] winhttp/tests: Remove LPVOID arguments.
Andrey Gusev
andrey.goosev at gmail.com
Mon Sep 2 08:34:53 CDT 2019
Signed-off-by: Andrey Gusev <andrey.goosev at gmail.com>
---
dlls/winhttp/tests/notification.c | 2 +-
dlls/winhttp/tests/winhttp.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/winhttp/tests/notification.c b/dlls/winhttp/tests/notification.c
index 510d9e7a3e..e2bbb714fe 100644
--- a/dlls/winhttp/tests/notification.c
+++ b/dlls/winhttp/tests/notification.c
@@ -1023,7 +1023,7 @@ START_TEST (notification)
si.event = CreateEventW( NULL, 0, 0, NULL );
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());
server_socket_available = CreateEventW( NULL, 0, 0, NULL );
diff --git a/dlls/winhttp/tests/winhttp.c b/dlls/winhttp/tests/winhttp.c
index eb7c7b54f8..b005514dfa 100644
--- a/dlls/winhttp/tests/winhttp.c
+++ b/dlls/winhttp/tests/winhttp.c
@@ -4842,7 +4842,7 @@ START_TEST (winhttp)
si.event = CreateEventW(NULL, 0, 0, NULL);
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());
ret = WaitForSingleObject(si.event, 10000);
--
2.21.0
More information about the wine-devel
mailing list