Skip to content

Commit 3205b96

Browse files
committed
Fix failing test on Windows
1 parent 7d37795 commit 3205b96

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/benchmark_runner.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ IterationCount BenchmarkRunner::PredictNumItersNeeded(
325325

326326
// So what seems to be the sufficiently-large iteration count? Round up.
327327
const IterationCount max_next_iters = static_cast<IterationCount>(
328-
std::lround(std::max(multiplier * static_cast<double>(i.iters),
328+
std::llround(std::max(multiplier * static_cast<double>(i.iters),
329329
static_cast<double>(i.iters) + 1.0)));
330330
// But we do have *some* limits though..
331331
const IterationCount next_iters = std::min(max_next_iters, kMaxIterations);

0 commit comments

Comments
 (0)