diff options
author | Roland Reichwein <mail@reichwein.it> | 2020-06-06 13:58:22 +0200 |
---|---|---|
committer | Roland Reichwein <mail@reichwein.it> | 2020-06-06 13:58:22 +0200 |
commit | d0db131a73933d0a6c65bab59d1e0e4f6a185338 (patch) | |
tree | 06edad4d845c8ba4102843fc3b306d7b5cc485d6 /statistics.cpp | |
parent | 343922258d57261021daca42eb488c1205ae491c (diff) |
Code cleanup, use gcc 8 on debian 10
Diffstat (limited to 'statistics.cpp')
-rw-r--r-- | statistics.cpp | 2 |
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"); |