From fcfd4bef2dc9dc90e39ab5cb8f49686119917bb3 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Thu, 1 Jul 2004 07:30:19 +0000 Subject: typecast to prevent picky compiler warning --- lib/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.c b/lib/http.c index ea7b49988..d1128d499 100644 --- a/lib/http.c +++ b/lib/http.c @@ -761,7 +761,7 @@ CURLcode add_buffer_send(send_buffer *in, conn->fread = (curl_read_callback)readmoredata; conn->fread_in = (void *)conn; http->postdata = ptr; - http->postsize = size; + http->postsize = (curl_off_t)size; http->send_buffer = in; http->sending = HTTPSEND_REQUEST; -- cgit v1.2.3