From ecb2e194d45c92e430bcf133fcee85a8a336cfcb Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Tue, 11 Dec 2018 12:52:21 +0100 Subject: 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 --- lib/multi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- cgit v1.2.1