summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/deps_log.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/deps_log.cc b/src/deps_log.cc
index 5e5bba9..eb1ea2b 100644
--- a/src/deps_log.cc
+++ b/src/deps_log.cc
@@ -233,7 +233,7 @@ bool DepsLog::Load(const string& path, State* state, string* err) {
DepsLog::Deps* DepsLog::GetDeps(Node* node) {
// Abort if the node has no id (never referenced in the deps) or if
// there's no deps recorded for the node.
- if (node->id() < 0 || node->id() >= deps_.size())
+ if (node->id() < 0 || node->id() >= (int)deps_.size())
return NULL;
return deps_[node->id()];
}