diff options
author | Yang Tse <yangsita@gmail.com> | 2006-10-15 23:13:12 +0000 |
---|---|---|
committer | Yang Tse <yangsita@gmail.com> | 2006-10-15 23:13:12 +0000 |
commit | 10d1fc0e73cf23a06433ad6a933c3dcfef034a6c (patch) | |
tree | 2f68e4a5ed711494cf39c28a3b7a53ec22823d21 | |
parent | 2260c8aa11ef1bb0d7e119ad523ee0387647d9e7 (diff) |
Compiler warning fix
-rw-r--r-- | lib/http.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/http.c b/lib/http.c index 12c774164..3ca6cc543 100644 --- a/lib/http.c +++ b/lib/http.c @@ -850,7 +850,7 @@ CURLcode add_buffer_send(send_buffer *in, struct connectdata *conn, long *bytes_written, /* add the number of sent bytes to this counter */ - int included_body_bytes, /* how much of the buffer + long included_body_bytes, /* how much of the buffer contains body data (for log tracing) */ int socketindex) @@ -1603,7 +1603,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done) char *request; Curl_HttpReq httpreq = data->set.httpreq; char *addcookies = NULL; - int included_body = 0; + long included_body = 0; /* Always consider the DO phase done after this function call, even if there may be parts of the request that is not yet sent, since we can deal with |