diff options
Diffstat (limited to 'src/sys')
-rw-r--r-- | src/sys/sys.cc | 2 |
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 } |