summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPixel <pixel@nobis-crew.org>2011-11-16 20:54:13 -0800
committerPixel <pixel@nobis-crew.org>2011-11-16 20:54:13 -0800
commit8ed05c55f14823b4f8782d3f096803c1d3f27d3a (patch)
treec46d2c72eb60bea5e931e35320deaf5812706596
parent7913be4614cbe4651972348944b40e2d85aad385 (diff)
clang actually managed to pick up a bug...
-rw-r--r--src/TaskMan.cc2
1 files changed, 1 insertions, 1 deletions
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);