summaryrefslogtreecommitdiff
path: root/libavformat/http.c
diff options
context:
space:
mode:
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,