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:
parent
13b3590472
commit
5c4deddee2
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ public:
|
||||||
SetEvent(hIOReadyEvent);
|
SetEvent(hIOReadyEvent);
|
||||||
}
|
}
|
||||||
|
|
||||||
HANDLE waitList[2] = {hNeedIOEvent, hCompressionThread};
|
HANDLE waitList[2] = {hNeedIOEvent, (HANDLE) hCompressionThread};
|
||||||
if (WaitForMultipleObjects(2, waitList, FALSE, INFINITE) != WAIT_OBJECT_0)
|
if (WaitForMultipleObjects(2, waitList, FALSE, INFINITE) != WAIT_OBJECT_0)
|
||||||
{
|
{
|
||||||
// thread ended or WaitForMultipleObjects failed
|
// thread ended or WaitForMultipleObjects failed
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue