diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-03-12 14:22:16 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-03-12 14:22:16 +0000 |
commit | 94a1d09ac7500afdd6f3cef3fbfefa16072f2704 (patch) | |
tree | 4612e1d798f0138c1362409cd99c892884b17864 /lib/http.c | |
parent | 230a75091b73273e265ffc57981bfff3fb2cab5a (diff) |
more variable type fixing for the huge posts
Diffstat (limited to 'lib/http.c')
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index a81a7bbf6..19473d3f1 100644 --- a/lib/http.c +++ b/lib/http.c @@ -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 */ |