From: Daniel Stenberg Date: Wed, 20 Jul 2022 10:13:02 +0000 (+0200) Subject: multi: fix the return code from Curl_pgrsDone() X-Git-Tag: curl-7_85_0~139 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4c57fdcf87558a95c3ebc4726d21096b53fe812c;p=thirdparty%2Fcurl.git multi: fix the return code from Curl_pgrsDone() It does not return a CURLcode. Detected by the icc compiler warning "enumerated type mixed with another type" Closes #9179 --- diff --git a/lib/multi.c b/lib/multi.c index e0280447c2..a5217ee2c6 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -629,7 +629,7 @@ static CURLcode multi_done(struct Curl_easy *data, if(CURLE_ABORTED_BY_CALLBACK != result) { /* avoid this if we already aborted by callback to avoid this calling another callback */ - CURLcode rc = Curl_pgrsDone(data); + int rc = Curl_pgrsDone(data); if(!result && rc) result = CURLE_ABORTED_BY_CALLBACK; }