From: Daniel Stenberg Date: Thu, 1 Jul 2004 07:30:19 +0000 (+0000) Subject: typecast to prevent picky compiler warning X-Git-Tag: curl-7_12_1~162 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fcfd4bef2dc9dc90e39ab5cb8f49686119917bb3;p=thirdparty%2Fcurl.git typecast to prevent picky compiler warning --- diff --git a/lib/http.c b/lib/http.c index ea7b499889..d1128d4998 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;