uint isn't portable and makes some compilers angry, change to unsigned int
[folly.git] / folly / test / HistogramBenchmark.cpp
index fd736a192f70d523935fed937644b2fc8c35f5d2..949310148829f86b420d0c177f228db5f71e6ec8 100644 (file)
@@ -22,7 +22,7 @@
 
 using folly::Histogram;
 
-void addValue(uint n, int64_t bucketSize, int64_t min, int64_t max) {
+void addValue(unsigned int n, int64_t bucketSize, int64_t min, int64_t max) {
   Histogram<int64_t> hist(bucketSize, min, max);
   int64_t num = min;
   FOR_EACH_RANGE (i, 0, n) {