summaryrefslogtreecommitdiffhomepage
path: root/statistics.cpp
diff options
context:
space:
mode:
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");