[POSIX] Fix ConditionVariableImpl.cpp compilation errors.

Former-commit-id: d6cd13392acfa62329bf0efe9957d553bbc5657a
This commit is contained in:
= 2013-08-11 19:44:26 +02:00
parent 8ed005659b
commit 244c4d96e9
1 changed files with 1 additions and 1 deletions

View File

@ -43,5 +43,5 @@ bool NzConditionVariableImpl::Wait(NzMutexImpl* mutex, nzUInt32 timeout)
ti.tv_sec = tv.tv_sec + (timeout / 1000) + (ti.tv_nsec / 1000000000);
ti.tv_nsec %= 1000000000;
return pthread_cond_timedwait(&m_cv,mutex, &tv) != ETIMEDOUT;
return pthread_cond_timedwait(&m_cv,&mutex->m_handle, &ti) != 0;
}