From 8ed05c55f14823b4f8782d3f096803c1d3f27d3a Mon Sep 17 00:00:00 2001 From: Pixel Date: Wed, 16 Nov 2011 20:54:13 -0800 Subject: clang actually managed to pick up a bug... --- src/TaskMan.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TaskMan.cc b/src/TaskMan.cc index 630d845..81811db 100644 --- a/src/TaskMan.cc +++ b/src/TaskMan.cc @@ -189,7 +189,7 @@ void Balau::TaskMan::mainLoop() { m_signaledTasks.clear(); // Adding tasks that were added, maybe from other threads - while ((m_pendingAdd.size() != 0) || (m_tasks.size() == 0) && !m_stopped) { + while (((m_pendingAdd.size() != 0) || (m_tasks.size() == 0)) && !m_stopped) { t = m_pendingAdd.pop(); Assert(m_tasks.find(t) == m_tasks.end()); t->setup(this); -- cgit v1.2.3