[FFmpeg-devel] [PATCH] ffserver: fix printf argument type

Paul B Mahol onemda at gmail.com
Thu Oct 25 18:37:31 CEST 2012


From: Martin Ettl <ettl.martin78 at googlemail.com>

---
 ffserver.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ffserver.c b/ffserver.c
index c8f9cec..d985056 100644
--- a/ffserver.c
+++ b/ffserver.c
@@ -801,7 +801,7 @@ static void http_send_too_busy_reply(int fd)
                        "\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 number of current connections is %d, and this exceeds the limit of %d.</p>\r\n"
+                       "<p>The number of current connections is %u, and this exceeds the limit of %u.</p>\r\n"
                        "</body></html>\r\n",
                        nb_connections, nb_max_connections);
     av_assert0(len < sizeof(buffer));
-- 
1.7.11.2



More information about the ffmpeg-devel mailing list