aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--checks/timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/checks/timer.cpp b/checks/timer.cpp
index bbb893d3e..a5225f23b 100644
--- a/checks/timer.cpp
+++ b/checks/timer.cpp
@@ -33,7 +33,7 @@ std::ostream& operator<<(std::ostream& out, Timer& timer)
{
//out << timer.value() << " ";
- int events_per_second = timer.events() / timer.seconds();
+ int events_per_second = static_cast<int>(timer.events() / timer.seconds());
out << events_per_second << " " << timer.get_name() << " per second; ";