mirror of
https://github.com/moparisthebest/curl
synced 2024-12-21 23:58:49 -05:00
multi: fix compiler warning: enumerated type mixed with another type
This commit is contained in:
parent
c9081a8280
commit
e39ab6f203
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user