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/WebView/src/webview.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/WebView/src/webview.cpp') diff --git a/plugins/WebView/src/webview.cpp b/plugins/WebView/src/webview.cpp index 3359fe2cdf..ee0660d813 100644 --- a/plugins/WebView/src/webview.cpp +++ b/plugins/WebView/src/webview.cpp @@ -267,7 +267,7 @@ void CALLBACK timerfunc(HWND, UINT, UINT_PTR, DWORD) if (!(db_get_b(NULL, MODULENAME, OFFLINE_STATUS, 1))) if (!(db_get_b(NULL, MODULENAME, DISABLE_AUTOUPDATE_KEY, 0))) - mir_forkthread(ContactLoop, nullptr); + mir_forkthread(ContactLoop); db_set_dw(NULL, MODULENAME, COUNTDOWN_KEY, 0); } @@ -350,7 +350,7 @@ int ModulesLoaded(WPARAM, LPARAM) // get data on startup if (db_get_b(NULL, MODULENAME, UPDATE_ONSTART_KEY, 0)) - mir_forkthread(StartUpdate, nullptr); + mir_forkthread(StartUpdate); return 0; } @@ -394,7 +394,7 @@ INT_PTR DataWndMenuCommand(WPARAM wParam, LPARAM) /*****************************************************************************/ INT_PTR UpdateAllMenuCommand(WPARAM, LPARAM) { - mir_forkthread(ContactLoop, nullptr); + mir_forkthread(ContactLoop); return 0; } -- cgit v1.2.3