mirror of
https://github.com/curl/curl.git
synced 2026-08-26 05:03:33 +03:00
Compiler warning fix
This commit is contained in:
parent
8d24c0212e
commit
c30e908034
5 changed files with 37 additions and 37 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue