From 4af92de6f6e9111a178ae5d6b0a641cf5a1d1f40 Mon Sep 17 00:00:00 2001 From: Stefano Sabatini Date: Wed, 3 Sep 2008 20:10:32 +0000 Subject: Make the nb_max_connections and nb_connections int variables unsigned. Originally committed as revision 15191 to svn://svn.ffmpeg.org/ffmpeg/trunk --- ffserver.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ffserver.c') diff --git a/ffserver.c b/ffserver.c index f7d00eabf3..f6898e5421 100644 --- a/ffserver.c +++ b/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; -- cgit v1.2.3