]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
typecast to prevent picky compiler warning
authorDaniel Stenberg <daniel@haxx.se>
Thu, 1 Jul 2004 07:30:19 +0000 (07:30 +0000)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 1 Jul 2004 07:30:19 +0000 (07:30 +0000)
lib/http.c

index ea7b4998892ec4b0a4a882b808863b3ab44481f0..d1128d4998bac7171ca6a3d6d6ea524d9099b03b 100644 (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;