From: Daniel Stenberg Date: Tue, 11 Dec 2018 11:52:21 +0000 (+0100) Subject: multi: convert two timeout variables to timediff_t X-Git-Tag: curl-7_63_0~4 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ecb2e194d45c92e430bcf133fcee85a8a336cfcb;p=curl multi: convert two timeout variables to timediff_t The time_t type is unsigned on some systems and these variables are used to hold return values from functions that return timediff_t already. timediff_t is always a signed type. Closes #3363 --- diff --git a/lib/multi.c b/lib/multi.c index 4ba22c46e..56b3faf2f 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -1354,8 +1354,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, CURLMcode rc; CURLcode result = CURLE_OK; struct SingleRequest *k; - time_t timeout_ms; - time_t recv_timeout_ms; + timediff_t timeout_ms; + timediff_t recv_timeout_ms; timediff_t send_timeout_ms; int control;