aboutsummaryrefslogtreecommitdiff
path: root/lib/multi.c
diff options
context:
space:
mode:
authorMarc Hoersken <info@marc-hoersken.de>2020-06-01 08:49:20 +0200
committerMarc Hoersken <info@marc-hoersken.de>2020-06-06 20:05:58 +0200
commit3186f5005497df68ef0735b2e23b8a5c9d76d8b9 (patch)
tree6b75126d0db7d338d5e4792a1bc03f4124c051d2 /lib/multi.c
parente2de2d53979ac6d93303562f5531f75944e70b8b (diff)
timeouts: move ms timeouts to timediff_t from int and long
Now that all functions in select.[ch] take timediff_t instead of the limited int or long, we can remove type conversions and related preprocessor checks to silence compiler warnings. Avoiding conversions from time_t was already done in 842f73de. Based upon #5262 Supersedes #5214, #5220 and #5221 Follow up to #5343 and #5479 Closes #5490
Diffstat (limited to 'lib/multi.c')
-rw-r--r--lib/multi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c
index 0a45ef4b6..a614929ec 100644
--- a/lib/multi.c
+++ b/lib/multi.c
@@ -1255,7 +1255,7 @@ static CURLMcode Curl_multi_wait(struct Curl_multi *multi,
timeout */
else if((sleep_ms < 0) && extrawait)
sleep_ms = timeout_ms;
- Curl_wait_ms((int)sleep_ms);
+ Curl_wait_ms(sleep_ms);
}
}