diff options
Diffstat (limited to 'clock.cpp')
-rw-r--r-- | clock.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -36,7 +36,7 @@ void Stopwatch::start() int Stopwatch::elapsed() const { time_t now = time(NULL); - return now - m_startTime; + return (int) (now - m_startTime); } bool Stopwatch::exceeded(int seconds) const |