From dc771f6b5f4540c9ea1beaef0ddf268807a2c17f Mon Sep 17 00:00:00 2001 From: Diego Pettenò Date: Mon, 29 Sep 2008 07:15:49 +0000 Subject: Remove some format string warnings. patch by Diego Pettenò, flameeyes gmail com MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 15461 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index 5e18970ca7..89836c6f2a 100644 --- a/ffserver.c +++ b/ffserver.c @@ -1367,8 +1367,8 @@ static int http_parse_request(HTTPContext *c) "\r\n" "Too busy\r\n" "

The server is too busy to serve your request at this time.

\r\n" - "

The bandwidth being served (including your stream) is %lldkbit/sec, " - "and this exceeds the limit of %lldkbit/sec.

\r\n" + "

The bandwidth being served (including your stream) is %" PRIu64 "kbit/sec, " + "and this exceeds the limit of %" PRIu64 "kbit/sec.

\r\n" "\r\n", current_bandwidth, max_bandwidth); /* prepare output buffer */ c->buffer_ptr = c->buffer; @@ -1860,7 +1860,7 @@ static void compute_status(HTTPContext *c) url_fprintf(pb, "Number of connections: %d / %d
\n", nb_connections, nb_max_connections); - url_fprintf(pb, "Bandwidth in use: %lldk / %lldk
\n", + url_fprintf(pb, "Bandwidth in use: %" PRIu64 "k / %" PRIu64 "k
\n", current_bandwidth, max_bandwidth); url_fprintf(pb, "\n"); -- cgit v1.2.3