From 5c4deddee2f4e5aea4e097b986fa1b6aa11103eb Mon Sep 17 00:00:00 2001 From: kichik Date: Fri, 4 Jun 2004 11:52:01 +0000 Subject: [PATCH] hCompressionThread is not an handle on POSIX, casting added git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3554 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/clzma.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/clzma.h b/Source/clzma.h index b394eb31..8b14240e 100644 --- a/Source/clzma.h +++ b/Source/clzma.h @@ -319,7 +319,7 @@ public: SetEvent(hIOReadyEvent); } - HANDLE waitList[2] = {hNeedIOEvent, hCompressionThread}; + HANDLE waitList[2] = {hNeedIOEvent, (HANDLE) hCompressionThread}; if (WaitForMultipleObjects(2, waitList, FALSE, INFINITE) != WAIT_OBJECT_0) { // thread ended or WaitForMultipleObjects failed