Fix WaitForSingleObject() argument type on MinGW
All checks were successful
All checks were successful
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
diff --git a/lldb/source/Host/windows/MainLoopWindows.cpp b/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||||
|
index c0b10797e..e971b8cfd 100644
|
||||||
|
--- a/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||||
|
+++ b/lldb/source/Host/windows/MainLoopWindows.cpp
|
||||||
|
@@ -58,7 +58,7 @@ public:
|
||||||
|
// 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((HANDLE)m_monitor_thread.native_handle(), 1) ==
|
||||||
|
WAIT_TIMEOUT);
|
||||||
|
m_monitor_thread.join();
|
||||||
|
}
|
Reference in New Issue
Block a user