diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/http.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/http.c b/lib/http.c index 3aa5af34a..812bbc787 100644 --- a/lib/http.c +++ b/lib/http.c @@ -1623,7 +1623,7 @@ CURLcode Curl_http(struct connectdata *conn) add_buffer(req_buffer, data->set.postfields, (size_t)postsize); else { /* Append the POST data chunky-style */ - add_bufferf(req_buffer, "%x\r\n", postsize); + add_bufferf(req_buffer, "%x\r\n", (int)postsize); add_buffer(req_buffer, data->set.postfields, (size_t)postsize); add_buffer(req_buffer, "\r\n0\r\n\r\n", 7); /* end of a chunked transfer stream */ |