projects
/
platform
/
upstream
/
ninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b549d18
)
fix warning
author
Evan Martin
<martine@danga.com>
Sat, 27 Apr 2013 21:27:24 +0000
(14:27 -0700)
committer
Evan Martin
<martine@danga.com>
Sat, 27 Apr 2013 21:27:24 +0000
(14:27 -0700)
src/deps_log.cc
patch
|
blob
|
history
diff --git
a/src/deps_log.cc
b/src/deps_log.cc
index
5e5bba9
..
eb1ea2b
100644
(file)
--- 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()];
}