Browse Source

Make the nb_max_connections and nb_connections int variables unsigned.

Originally committed as revision 15191 to svn://svn.ffmpeg.org/ffmpeg/trunk
Stefano Sabatini 16 years ago
parent
commit
4af92de6f6
1 changed files with 2 additions and 2 deletions
  1. 2 2
      ffserver.c

+ 2 - 2
ffserver.c

@@ -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;