aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/Timer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/Timer.cc')
-rw-r--r--src/FbTk/Timer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/FbTk/Timer.cc b/src/FbTk/Timer.cc
index 1597fa3..efecc5e 100644
--- a/src/FbTk/Timer.cc
+++ b/src/FbTk/Timer.cc
@@ -60,7 +60,7 @@ Timer::~Timer() {
60} 60}
61 61
62 62
63void Timer::setTimeout(long t) { 63void Timer::setTimeout(time_t t) {
64 m_timeout.tv_sec = t / 1000; 64 m_timeout.tv_sec = t / 1000;
65 m_timeout.tv_usec = t; 65 m_timeout.tv_usec = t;
66 m_timeout.tv_usec -= (m_timeout.tv_sec * 1000); 66 m_timeout.tv_usec -= (m_timeout.tv_sec * 1000);