aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-01 07:30:19 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-01 07:30:19 +0000
commitfcfd4bef2dc9dc90e39ab5cb8f49686119917bb3 (patch)
tree16275c5e806d0e33cc2fe1fbb5942b42acd8e46e /lib
parent18dc8fbc262a411e71b5665adc322f98fd7636a1 (diff)
typecast to prevent picky compiler warning
Diffstat (limited to 'lib')
-rw-r--r--lib/http.c2
1 files changed, 1 insertions, 1 deletions
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;