Compiler warning fix

This commit is contained in:
Yang Tse
2007-01-27 03:14:25 +00:00
parent 2bf4d9a22c
commit cdbbb7d900
2 changed files with 2 additions and 2 deletions

View File

@@ -512,7 +512,7 @@ CURLMcode curl_multi_remove_handle(CURLM *multi_handle,
}
if(easy) {
bool premature = easy->state != CURLM_STATE_COMPLETED;
bool premature = (bool)(easy->state != CURLM_STATE_COMPLETED);
/* If the 'state' is not INIT or COMPLETED, we might need to do something
nice to put the easy_handle in a good known state when this returns. */