summaryrefslogtreecommitdiff
path: root/ffserver.c
diff options
context:
space:
mode:
authorDiego Pettenò <flameeyes@gmail.com>2008-09-29 07:15:49 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-29 07:15:49 +0000
commitdc771f6b5f4540c9ea1beaef0ddf268807a2c17f (patch)
treeeec11a14cf56fd61269cc2b8b4c2bb589e43078c /ffserver.c
parentd0feff2a5b9bfb75f21387ce0d52618d524d6015 (diff)
Remove some format string warnings.
patch by Diego Pettenò, flameeyes gmail com Originally committed as revision 15461 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffserver.c')
-rw-r--r--ffserver.c6
1 files changed, 3 insertions, 3 deletions
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"
"<html><head><title>Too busy</title></head><body>\r\n"
"<p>The server is too busy to serve your request at this time.</p>\r\n"
- "<p>The bandwidth being served (including your stream) is %lldkbit/sec, "
- "and this exceeds the limit of %lldkbit/sec.</p>\r\n"
+ "<p>The bandwidth being served (including your stream) is %" PRIu64 "kbit/sec, "
+ "and this exceeds the limit of %" PRIu64 "kbit/sec.</p>\r\n"
"</body></html>\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<BR>\n",
nb_connections, nb_max_connections);
- url_fprintf(pb, "Bandwidth in use: %lldk / %lldk<BR>\n",
+ url_fprintf(pb, "Bandwidth in use: %" PRIu64 "k / %" PRIu64 "k<BR>\n",
current_bandwidth, max_bandwidth);
url_fprintf(pb, "<TABLE>\n");