From 4c57fdcf87558a95c3ebc4726d21096b53fe812c Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 20 Jul 2022 12:13:02 +0200 Subject: [PATCH] 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 --- lib/multi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.47.3