1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

typecast to prevent picky compiler warning

This commit is contained in:
Daniel Stenberg 2004-07-01 07:30:19 +00:00
parent 18dc8fbc26
commit fcfd4bef2d

View File

@ -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;