summaryrefslogtreecommitdiffhomepage
path: root/statistics.cpp
diff options
context:
space:
mode:
authorRoland Reichwein <mail@reichwein.it>2020-06-06 13:58:22 +0200
committerRoland Reichwein <mail@reichwein.it>2020-06-06 13:58:22 +0200
commitd0db131a73933d0a6c65bab59d1e0e4f6a185338 (patch)
tree06edad4d845c8ba4102843fc3b306d7b5cc485d6 /statistics.cpp
parent343922258d57261021daca42eb488c1205ae491c (diff)
Code cleanup, use gcc 8 on debian 10
Diffstat (limited to 'statistics.cpp')
-rw-r--r--statistics.cpp2
1 files changed, 1 insertions, 1 deletions
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<uint64_t>(time(nullptr))};
if (now < start_time)
std::runtime_error("Statistics time is in the future");