From 3b2d0abd2b4d9c31c70eb13dc14e7ee627621b3c Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Fri, 22 Jul 2016 17:48:37 -0600 Subject: [PATCH] Use correct integer type for complexity. MSVC warns otherwise --- include/benchmark/benchmark_api.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/benchmark/benchmark_api.h b/include/benchmark/benchmark_api.h index 664ca2a9..b4aa21c3 100644 --- a/include/benchmark/benchmark_api.h +++ b/include/benchmark/benchmark_api.h @@ -367,7 +367,7 @@ public: } BENCHMARK_ALWAYS_INLINE - size_t complexity_length_n() { + int complexity_length_n() { return complexity_n_; }