mirror of
https://github.com/curl/curl.git
synced 2026-08-25 23:23:31 +03:00
more variable type fixing for the huge posts
This commit is contained in:
parent
230a75091b
commit
94a1d09ac7
3 changed files with 4 additions and 4 deletions
|
|
@ -457,8 +457,8 @@ static size_t readmoredata(char *buffer,
|
|||
conn->bits.forbidchunk= (http->sending == HTTPSEND_REQUEST)?TRUE:FALSE;
|
||||
|
||||
if(http->postsize <= fullsize) {
|
||||
memcpy(buffer, http->postdata, http->postsize);
|
||||
fullsize = http->postsize;
|
||||
memcpy(buffer, http->postdata, (size_t)http->postsize);
|
||||
fullsize = (size_t)http->postsize;
|
||||
|
||||
if(http->backup.postsize) {
|
||||
/* move backup data into focus and continue on that */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue