From 94a1d09ac7500afdd6f3cef3fbfefa16072f2704 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Fri, 12 Mar 2004 14:22:16 +0000 Subject: more variable type fixing for the huge posts --- lib/http.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib/http.c') 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 */ -- cgit v1.2.3