fix compiler warning

This commit is contained in:
Yang Tse
2008-09-08 19:34:58 +00:00
parent eae27d1788
commit 2ef72f7abb
4 changed files with 8 additions and 8 deletions

View File

@@ -578,7 +578,7 @@ static bool trynextip(struct connectdata *conn,
conn->sock[sockindex] = sockfd;
conn->ip_addr = ai;
return Curl_store_ip_addr(conn) != CURLE_OK;
return (bool)(Curl_store_ip_addr(conn) != CURLE_OK);
}
ai = ai->ai_next;
}