12 lines
490 B
Diff
12 lines
490 B
Diff
--- a/source/Host/windows/MainLoopWindows.cpp
|
|
+++ b/source/Host/windows/MainLoopWindows.cpp
|
|
@@ -58,7 +58,7 @@
|
|
// Keep trying to cancel ReadFile() until the thread exits.
|
|
do {
|
|
CancelIoEx(m_handle, /*lpOverlapped=*/NULL);
|
|
- } while (WaitForSingleObject(m_monitor_thread.native_handle(), 1) ==
|
|
+ } while (WaitForSingleObject(reinterpret_cast<void*>(m_monitor_thread.native_handle()), 1) ==
|
|
WAIT_TIMEOUT);
|
|
m_monitor_thread.join();
|
|
}
|