fall back to .debug_info scan in fatal signal handler
[folly.git] / folly / experimental / test / BitsBenchmark.cpp
index 08230eac31b08f0c2b6cadec1834058e440f6bd4..f4782745f29d62a5cfebc1a51ed801331f6846d4 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright 2014 Facebook, Inc.
+ * Copyright 2016 Facebook, Inc.
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
@@ -44,7 +44,7 @@ void benchmarkSet(size_t n, T) {
     CHECK_LE(folly::findLastSet(max), size);
     CHECK_LE(folly::findLastSet(-min), size);
     std::uniform_int_distribution<T> dis(min, max);
-    for (int i = 0; i < k; ++i) {
+    for (size_t i = 0; i < k; ++i) {
       values[i] = dis(gen);
     }
   }