From 3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a Mon Sep 17 00:00:00 2001 From: George Hazan Date: Thu, 3 May 2018 16:02:14 +0200 Subject: mir_forkThread - stronger typizatioin for thread function parameter --- plugins/YAMN/src/browser/badconnect.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/YAMN/src/browser/badconnect.cpp') diff --git a/plugins/YAMN/src/browser/badconnect.cpp b/plugins/YAMN/src/browser/badconnect.cpp index 894b0bace0..276d45ef4b 100644 --- a/plugins/YAMN/src/browser/badconnect.cpp +++ b/plugins/YAMN/src/browser/badconnect.cpp @@ -286,7 +286,7 @@ INT_PTR RunBadConnectionSvc(WPARAM wParam, LPARAM lParam) HANDLE ThreadRunningEV = CreateEvent(nullptr, FALSE, FALSE, nullptr); Param->ThreadRunningEV = ThreadRunningEV; - HANDLE NewThread = mir_forkthread(BadConnection, (void*)Param); + HANDLE NewThread = mir_forkthread(BadConnection, Param); if (nullptr == NewThread) return 0; -- cgit v1.2.3