diff options
author | Daniel Stenberg <daniel@haxx.se> | 2017-07-04 08:44:36 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2017-07-04 08:44:36 +0200 |
commit | 66ecf4a473c625c89d1f39cb65f93aa04c5ef0e3 (patch) | |
tree | 91850d55fcbb19fa3cb61ae0ac04e59c1aab8169 | |
parent | 493517d6be4b945b5d66efcf255f824d4b184e00 (diff) | |
download | curl-bagder/travis-werror.tar.gz |
tool_sleep: fix the multiplier too, to not be a longbagder/travis-werror
-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 } |