diff options
author | George Hazan <ghazan@miranda.im> | 2018-05-03 16:02:14 +0200 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2018-05-03 16:02:14 +0200 |
commit | 3ad2582c4a4a6378f294f9256ecbcbdf0ae88e3a (patch) | |
tree | 412a28ef6a572efc7039df1c363bf47a3dec4b19 /plugins/KeyboardNotify/src/flash.cpp | |
parent | 9a6f750a482d1d1ebf4281bb7bf8133e547ad438 (diff) |
mir_forkThread<typename> - stronger typizatioin for thread function parameter
Diffstat (limited to 'plugins/KeyboardNotify/src/flash.cpp')
-rw-r--r-- | plugins/KeyboardNotify/src/flash.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/KeyboardNotify/src/flash.cpp b/plugins/KeyboardNotify/src/flash.cpp index 2a47c528b7..b5da36a964 100644 --- a/plugins/KeyboardNotify/src/flash.cpp +++ b/plugins/KeyboardNotify/src/flash.cpp @@ -310,7 +310,7 @@ void testSequence(wchar_t *testStr) static FLASHING_SEQUENCE Test = {0};
Test = str2FS(testStr);
- mir_forkthread(TestThread, (void*)&Test);
+ mir_forkthread(TestThread, &Test);
}
@@ -339,7 +339,7 @@ void previewFlashing(BOOL buttonState) return;
bPreviewSemaphore = TRUE;
- mir_forkthread(PreviewThread, nullptr);
+ mir_forkthread(PreviewThread);
}
|