Compiler warning fix

This commit is contained in:
Yang Tse 2006-09-10 23:37:42 +00:00
parent 8d24c0212e
commit c30e908034
5 changed files with 37 additions and 37 deletions

View file

@ -775,7 +775,7 @@ static size_t 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);
if(http->postsize <= (curl_off_t)fullsize) {
memcpy(buffer, http->postdata, (size_t)http->postsize);