[FFmpeg-cvslog] r15461 - trunk/ffserver.c

diego subversion
Mon Sep 29 09:15:49 CEST 2008


Author: diego
Date: Mon Sep 29 09:15:49 2008
New Revision: 15461

Log:
Remove some format string warnings.
patch by Diego Petten?, flameeyes gmail com


Modified:
   trunk/ffserver.c

Modified: trunk/ffserver.c
==============================================================================
--- trunk/ffserver.c	(original)
+++ trunk/ffserver.c	Mon Sep 29 09:15:49 2008
@@ -1367,8 +1367,8 @@ static int http_parse_request(HTTPContex
                       "\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 *
     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");




More information about the ffmpeg-cvslog mailing list