From d7fba3b8370daa65f368b5982041f53252b6428c Mon Sep 17 00:00:00 2001 From: Tim King Date: Thu, 29 Dec 2016 14:42:59 -0800 Subject: [PATCH] Eliminating a signed vs. unsigned comparison. --- src/expr/node_manager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/expr/node_manager.cpp b/src/expr/node_manager.cpp index 1d54d0f9d..a9be51418 100644 --- a/src/expr/node_manager.cpp +++ b/src/expr/node_manager.cpp @@ -383,7 +383,7 @@ std::vector NodeManager::TopologicalSort( stack.back().first = true; Assert(visited.count(current) == 0); visited.insert(current); - for (int i = 0; i < current->getNumChildren(); ++i) { + for (unsigned i = 0; i < current->getNumChildren(); ++i) { expr::NodeValue* child = current->getChild(i); if (visited.find(child) == visited.end()) { stack.push_back(std::make_pair(false, child)); -- 2.30.2