From d0db131a73933d0a6c65bab59d1e0e4f6a185338 Mon Sep 17 00:00:00 2001 From: Roland Reichwein Date: Sat, 6 Jun 2020 13:58:22 +0200 Subject: Code cleanup, use gcc 8 on debian 10 --- statistics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'statistics.cpp') diff --git a/statistics.cpp b/statistics.cpp index 3fb99a3..6138cca 100644 --- a/statistics.cpp +++ b/statistics.cpp @@ -57,7 +57,7 @@ Statistics::~Statistics() bool Statistics::Bin::expired() const { - auto now {time(nullptr)}; + uint64_t now {static_cast(time(nullptr))}; if (now < start_time) std::runtime_error("Statistics time is in the future"); -- cgit v1.2.3