MINGW-packages/mingw-w64-lldb/001-fix-build-with-mingw-w64-gcc.patch
مهدي شينون (Mehdi Chinoune) e3ca66d349 LLVM: update to 21.1.1
2025-09-19 12:06:21 +01:00

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();
}