summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2017-02-10 21:16:33 (GMT)
committerGitHub <noreply@github.com>2017-02-10 21:16:33 (GMT)
commitf4ea9ca2f26931b4aa60179deb875361960492f0 (patch)
tree7016fe0afebeba575f06ecd90e9f11d9def365b7
parent4dc4f1dee9b7aabaea8309d68910285431976e64 (diff)
parentd6ff22b506c85b31c81ff879fd0329a758642f71 (diff)
downloadNinja-f4ea9ca2f26931b4aa60179deb875361960492f0.zip
Ninja-f4ea9ca2f26931b4aa60179deb875361960492f0.tar.gz
Ninja-f4ea9ca2f26931b4aa60179deb875361960492f0.tar.bz2
Merge pull request #1232 from nicolasdespres/fix-canon_perftest
Fix compilation error in canon_perftest.
-rw-r--r--src/canon_perftest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/canon_perftest.cc b/src/canon_perftest.cc
index 389ac24..03f4a2f 100644
--- a/src/canon_perftest.cc
+++ b/src/canon_perftest.cc
@@ -33,7 +33,7 @@ int main() {
for (int j = 0; j < 5; ++j) {
const int kNumRepetitions = 2000000;
int64_t start = GetTimeMillis();
- unsigned int slash_bits;
+ uint64_t slash_bits;
for (int i = 0; i < kNumRepetitions; ++i) {
CanonicalizePath(buf, &len, &slash_bits, &err);
}