diff options
author | Yang Tse <yangsita@gmail.com> | 2010-11-26 19:34:10 +0100 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2010-11-26 19:34:10 +0100 |
commit | e39ab6f2039210c40a72f5219e7f211a95c9d007 (patch) | |
tree | 4207ee1f1836dcd0bada7ea5609ebc581d3d8f57 | |
parent | c9081a8280dfcb6e33db2ec23d0d570813694514 (diff) |
multi: fix compiler warning: enumerated type mixed with another type
-rw-r--r-- | lib/multi.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/multi.c b/lib/multi.c index 9f51b7adb..ee5e76ee9 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 */ |