multi: fix compiler warning: enumerated type mixed with another type
This commit is contained in:
@@ -982,7 +982,8 @@ static CURLMcode multi_runsingle(struct Curl_multi *multi,
|
|||||||
start time stored */
|
start time stored */
|
||||||
|
|
||||||
timeout_ms = Curl_timeleft(easy->easy_conn, &now,
|
timeout_ms = Curl_timeleft(easy->easy_conn, &now,
|
||||||
easy->state <= CURLM_STATE_WAITDO);
|
(easy->state <= CURLM_STATE_WAITDO)?
|
||||||
|
TRUE:FALSE);
|
||||||
|
|
||||||
if(timeout_ms < 0) {
|
if(timeout_ms < 0) {
|
||||||
/* Handle timed out */
|
/* Handle timed out */
|
||||||
|
Reference in New Issue
Block a user