summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2016-03-09 14:00:22 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2016-03-09 14:00:22 +0100
commit144ef773c7140d1ea49d54e65e989f4edcfe9958 (patch)
tree651757787a5424a0dad0a4a0df984cdb8aafbd6a /libavformat/http.c
parent953b8c5a43ef3f48cc0464857efffe8fdc769b3d (diff)
Use correct msvc type specifiers for ptrdiff_t and size_t.
Diffstat (limited to 'libavformat/http.c')
-rw-r--r--libavformat/http.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/http.c b/libavformat/http.c
index ae77b646f7..f18d9e28a1 100644
--- a/libavformat/http.c
+++ b/libavformat/http.c
@@ -370,7 +370,7 @@ static int http_write_reply(URLContext* h, int status_code)
message_len = snprintf(message, sizeof(message),
"HTTP/1.1 %03d %s\r\n"
"Content-Type: %s\r\n"
- "Content-Length: %zu\r\n"
+ "Content-Length: %"SIZE_SPECIFIER"\r\n"
"\r\n"
"%03d %s\r\n",
reply_code,