fixed compiler warning

This commit is contained in:
Christoph Oelckers 2018-06-12 10:59:17 +02:00
parent 3385e28611
commit 5a20de829b
1 changed files with 1 additions and 1 deletions

View File

@ -221,5 +221,5 @@ void GroupMemoryBarrierCommand::Execute(DrawerThread *thread)
std::unique_lock<std::mutex> lock(mutex);
count++;
condition.notify_all();
condition.wait(lock, [&]() { return count >= thread->num_cores; });
condition.wait(lock, [&]() { return count >= (size_t)thread->num_cores; });
}