diff options
author | Måns Rullgård <mans@mansr.com> | 2005-12-12 01:56:46 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-12-12 01:56:46 +0000 |
commit | 4733abcbf30fb662785d0c4ad3a0601e749dc57d (patch) | |
tree | 5b8bbe0c89f35eb6fedc535909dae1ffc65bc67f /ffserver.c | |
parent | fccfc4753386d3aacb067f5e4117ea4d266acf72 (diff) | |
download | ffmpeg-4733abcbf30fb662785d0c4ad3a0601e749dc57d.tar.gz |
use PRIxN, %zd, %td formats where needed
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r-- | ffserver.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ffserver.c b/ffserver.c index bbff9f5b74..de09e5a6a3 100644 --- a/ffserver.c +++ b/ffserver.c @@ -329,7 +329,7 @@ static void log_connection(HTTPContext *c) if (c->suppress_log) return; - http_log("%s - - [%s] \"%s %s %s\" %d %lld\n", + http_log("%s - - [%s] \"%s %s %s\" %d %"PRId64"\n", inet_ntoa(c->from_addr.sin_addr), ctime1(buf2), c->method, c->url, c->protocol, (c->http_error ? c->http_error : 200), c->data_count); @@ -1584,7 +1584,7 @@ static void fmt_bytecount(ByteIOContext *pb, int64_t count) for (s = suffix; count >= 100000 && s[1]; count /= 1000, s++) { } - url_fprintf(pb, "%lld%c", count, *s); + url_fprintf(pb, "%"PRId64"%c", count, *s); } static void compute_stats(HTTPContext *c) |