From 5a20de829bc2c21f168601ec4917fab297c0d6d7 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Tue, 12 Jun 2018 10:59:17 +0200 Subject: [PATCH] fixed compiler warning --- src/swrenderer/drawers/r_thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swrenderer/drawers/r_thread.cpp b/src/swrenderer/drawers/r_thread.cpp index 9aa148a6d8..8ecb7b0ecd 100644 --- a/src/swrenderer/drawers/r_thread.cpp +++ b/src/swrenderer/drawers/r_thread.cpp @@ -221,5 +221,5 @@ void GroupMemoryBarrierCommand::Execute(DrawerThread *thread) std::unique_lock lock(mutex); count++; condition.notify_all(); - condition.wait(lock, [&]() { return count >= thread->num_cores; }); + condition.wait(lock, [&]() { return count >= (size_t)thread->num_cores; }); }