]> git.sesse.net Git - ffmpeg/commitdiff
Make the nb_max_connections and nb_connections int variables unsigned.
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Sep 2008 20:10:32 +0000 (20:10 +0000)
committerStefano Sabatini <stefano.sabatini-lala@poste.it>
Wed, 3 Sep 2008 20:10:32 +0000 (20:10 +0000)
Originally committed as revision 15191 to svn://svn.ffmpeg.org/ffmpeg/trunk

ffserver.c

index f7d00eabf376abb66ddbfa0356f9823ebc360c06..f6898e54216722c8f4b62fb6cb7d13de10f0d2b6 100644 (file)
@@ -294,8 +294,8 @@ static int need_to_start_children;
 
 /* maximum number of simultaneous HTTP connections */
 static unsigned int nb_max_http_connections = 2000;
-static int nb_max_connections = 5;
-static int nb_connections;
+static unsigned int nb_max_connections = 5;
+static unsigned int nb_connections;
 
 static uint64_t max_bandwidth = 1000;
 static uint64_t current_bandwidth;