diff options
-rw-r--r-- | src/server/timer.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/timer.cc b/src/server/timer.cc index dc37cb3..c184659 100644 --- a/src/server/timer.cc +++ b/src/server/timer.cc @@ -36,7 +36,7 @@ float Timer::elapsed() void Timer::sleep(float seconds) { - usleep((useconds_t) seconds*1000000.0f); + usleep((useconds_t) seconds * (useconds_t) 1000000.0 ); } } |