diff --git a/ffserver.c b/ffserver.c
index c8f9cecf4446e519a04de1f14e46d2c4c13633ce..d985056ee08138c3847801c3a347a07c0b454283 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));