diff options
author | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:29:15 (GMT) |
---|---|---|
committer | Andy Cedilnik <andy.cedilnik@kitware.com> | 2003-05-01 15:29:15 (GMT) |
commit | 8174deb9e998199fc4aa828664d57dedc3f8a683 (patch) | |
tree | f8d3845260623d8240db1db2109102967df512a9 /Source/CTest/Curl/http.c | |
parent | 6e143754beaf7c275c73b5c501419e3ac0b40839 (diff) | |
download | CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.zip CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.tar.gz CMake-8174deb9e998199fc4aa828664d57dedc3f8a683.tar.bz2 |
ERR: Remove warnings
Diffstat (limited to 'Source/CTest/Curl/http.c')
-rw-r--r-- | Source/CTest/Curl/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CTest/Curl/http.c b/Source/CTest/Curl/http.c index 91ae720..591da9c 100644 --- a/Source/CTest/Curl/http.c +++ b/Source/CTest/Curl/http.c @@ -113,7 +113,7 @@ static int readmoredata(char *buffer, return 0; /* make sure that a HTTP request is never sent away chunked! */ - conn->bits.forbidchunk= (http->sending == HTTPSEND_REQUEST)?TRUE:FALSE; + conn->bits.forbidchunk=(bool)((http->sending==HTTPSEND_REQUEST)?TRUE:FALSE); if(http->postsize <= fullsize) { memcpy(buffer, http->postdata, http->postsize); @@ -716,7 +716,7 @@ CURLcode Curl_http(struct connectdata *conn) if(data->cookies) { co = Curl_cookie_getlist(data->cookies, host, ppath, - (conn->protocol&PROT_HTTPS?TRUE:FALSE)); + (bool)(conn->protocol&PROT_HTTPS?TRUE:FALSE)); } if (data->change.proxy && *data->change.proxy && !data->set.tunnel_thru_httpproxy && |