summaryrefslogtreecommitdiff
path: root/src/helpers/Timer.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers/Timer.cpp')
-rw-r--r--src/helpers/Timer.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers/Timer.cpp b/src/helpers/Timer.cpp
index ec530df4..7b1726df 100644
--- a/src/helpers/Timer.cpp
+++ b/src/helpers/Timer.cpp
@@ -8,7 +8,7 @@ std::chrono::steady_clock::duration CTimer::getDuration() {
return std::chrono::steady_clock::now() - m_tpLastReset;
}
-int CTimer::getMillis() {
+long CTimer::getMillis() {
return std::chrono::duration_cast<std::chrono::milliseconds>(getDuration()).count();
}