From: Yang Tse Date: Fri, 26 Nov 2010 18:34:10 +0000 (+0100) Subject: multi: fix compiler warning: enumerated type mixed with another type X-Git-Tag: curl-7_21_3~38 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e39ab6f2039210c40a72f5219e7f211a95c9d007;p=thirdparty%2Fcurl.git multi: fix compiler warning: enumerated type mixed with another type --- diff --git a/lib/multi.c b/lib/multi.c index 9f51b7adb5..ee5e76ee98 100644 --- a/lib/multi.c +++ b/lib/multi.c @@ -982,7 +982,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi, start time stored */ timeout_ms = Curl_timeleft(easy->easy_conn, &now, - easy->state <= CURLM_STATE_WAITDO); + (easy->state <= CURLM_STATE_WAITDO)? + TRUE:FALSE); if(timeout_ms < 0) { /* Handle timed out */