diff options
author | Daniel Stenberg <daniel@haxx.se> | 2010-07-24 22:52:35 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2010-07-24 22:52:35 +0200 |
commit | 6d2ccfed48558f171c2840c3aa479261050d084a (patch) | |
tree | 79045c43f3f1a7fc2092494da391fe57185c37d1 /lib/http.h | |
parent | 7738b15977d40ee15dca28113f73601a94ed516e (diff) |
add_buffer_send: fix compiler warning
Win64's 32 bit long but 64 bit size_t caused a warning that we avoid
with a typecast. A small whitespace indent fix was also applied.
Reported by: Adam Light
Diffstat (limited to 'lib/http.h')
-rw-r--r-- | lib/http.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/http.h b/lib/http.h index b7c1abf66..3007c319f 100644 --- a/lib/http.h +++ b/lib/http.h @@ -56,11 +56,10 @@ Curl_send_buffer *Curl_add_buffer_init(void); CURLcode Curl_add_bufferf(Curl_send_buffer *in, const char *fmt, ...); CURLcode Curl_add_buffer(Curl_send_buffer *in, const void *inptr, size_t size); CURLcode Curl_add_buffer_send(Curl_send_buffer *in, - struct connectdata *conn, - long *bytes_written, - size_t included_body_bytes, - int socketindex); - + struct connectdata *conn, + long *bytes_written, + size_t included_body_bytes, + int socketindex); CURLcode Curl_add_timecondition(struct SessionHandle *data, Curl_send_buffer *buf); |