Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2007-12-17 14:46:40 +0000
committerStijn Buys <ingar@osirion.org>2007-12-17 14:46:40 +0000
commit8f1e895de4986e3a953023b31840210c5555856e (patch)
tree3977a538160a9b9cd550e5dc334104bdbd8a445d /src
parent549107c0fbd19645459bd7df985952763b0b3e15 (diff)
aesthetics
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 );
}
}