diff options
-rw-r--r-- | src/tool_sleep.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tool_sleep.c b/src/tool_sleep.c index 7f3689b23..a63d85ffb 100644 --- a/src/tool_sleep.c +++ b/src/tool_sleep.c @@ -51,7 +51,7 @@ void tool_go_sleep(long ms) struct timeval timeout; timeout.tv_sec = ms / 1000L; ms = ms % 1000L; - timeout.tv_usec = (int)ms * 1000L; + timeout.tv_usec = (int)ms * 1000; select(0, NULL, NULL, NULL, &timeout); #endif } |