Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
path: root/src/sys
diff options
context:
space:
mode:
Diffstat (limited to 'src/sys')
-rw-r--r--src/sys/sys.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sys/sys.cc b/src/sys/sys.cc
index 508756d..a9958f4 100644
--- a/src/sys/sys.cc
+++ b/src/sys/sys.cc
@@ -67,7 +67,7 @@ unsigned long time()
void sleep(float seconds)
{
#ifndef _WIN32
- ::usleep((useconds_t) seconds * (useconds_t) 1000000.0 );
+ ::usleep((useconds_t) (seconds * 1000000.0) );
#endif
}