From edf788517287af702c0d1f3db5502c01fbea847e Mon Sep 17 00:00:00 2001 From: XMRig Date: Mon, 23 Nov 2020 21:41:51 +0700 Subject: [PATCH] Fixed benchmark progress logging. --- src/backend/common/benchmark/Benchmark.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backend/common/benchmark/Benchmark.cpp b/src/backend/common/benchmark/Benchmark.cpp index d94ab584d..56f24d728 100644 --- a/src/backend/common/benchmark/Benchmark.cpp +++ b/src/backend/common/benchmark/Benchmark.cpp @@ -57,5 +57,5 @@ void xmrig::Benchmark::printProgress() const const double dt = static_cast(Chrono::steadyMSecs() - m_startTime) / 1000.0; const double percent = static_cast(m_current) / BenchState::size() * 100.0; - LOG_NOTICE("%s " MAGENTA_BOLD("%5.2f%% ") CYAN_BOLD("%" PRIu64) CYAN("/%" PRIu64) BLACK_BOLD(" (%.3fs)"), Tags::bench(), percent, m_current, BenchState::size(), dt); + LOG_NOTICE("%s " MAGENTA_BOLD("%5.2f%% ") CYAN_BOLD("%" PRIu64) CYAN("/%u") BLACK_BOLD(" (%.3fs)"), Tags::bench(), percent, m_current, BenchState::size(), dt); }