diff options
author | Stijn Buys <ingar@osirion.org> | 2007-12-17 14:46:40 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2007-12-17 14:46:40 +0000 |
commit | 8f1e895de4986e3a953023b31840210c5555856e (patch) | |
tree | 3977a538160a9b9cd550e5dc334104bdbd8a445d /src | |
parent | 549107c0fbd19645459bd7df985952763b0b3e15 (diff) |
aesthetics
Diffstat (limited to 'src')
-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 ); } } |