mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +00:00
fixed compiler warning
This commit is contained in:
parent
3385e28611
commit
5a20de829b
1 changed files with 1 additions and 1 deletions
|
@ -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; });
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue