summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Despres <nicolas.despres@gmail.com>2017-02-02 02:28:20 (GMT)
committerNicolas Despres <nicolas.despres@gmail.com>2017-02-02 02:28:20 (GMT)
commitd6ff22b506c85b31c81ff879fd0329a758642f71 (patch)
treee031090bff62f562247e1e242acb19e66e3ae196
parent2993752dd617ada5218836dd6545fb06690e238b (diff)
downloadNinja-d6ff22b506c85b31c81ff879fd0329a758642f71.zip
Ninja-d6ff22b506c85b31c81ff879fd0329a758642f71.tar.gz
Ninja-d6ff22b506c85b31c81ff879fd0329a758642f71.tar.bz2
Fix compilation error in canon_perftest.
Introduced by 1cc730ddc27df52.
-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);
}