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
This commit is contained in:
kichik 2004-06-04 11:52:01 +00:00
parent 13b3590472
commit 5c4deddee2

View file

@ -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