From 1e63b35e6406e8be1966691395e38491e0d3a325 Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 29 Sep 2008 07:15:49 +0000 Subject: [PATCH] =?utf8?q?Remove=20some=20format=20string=20warnings.=20pa?= =?utf8?q?tch=20by=20Diego=20Petten=C3=B2,=20flameeyes=20gmail=20com?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b --- ffserver.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ffserver.c b/ffserver.c index 5e18970ca..89836c6f2 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"); -- 2.39.2