]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/commitdiff
Remove some format string warnings.
authordiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 29 Sep 2008 07:15:49 +0000 (07:15 +0000)
committerdiego <diego@9553f0bf-9b14-0410-a0b8-cfaf0461ba5b>
Mon, 29 Sep 2008 07:15:49 +0000 (07:15 +0000)
patch by Diego Pettenò, flameeyes gmail com

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15461 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b

ffserver.c

index 5e18970ca7b851922b7b4966f9c8d982fe96e9a8..89836c6f2aa1be0ed96be71d435f5325cacc7e89 100644 (file)
@@ -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");