Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/server/timer.cc2
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 );
}
}