From eb0deeb9666d61f26cb3732440467b3b8d5222fb Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sun, 9 Aug 2009 23:01:32 +0200 Subject: fix signed vs unsigned comparison warning in check_allowed_connect_ports(). Michael --- src/reqs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/reqs.c b/src/reqs.c index b4259a8..5ee9382 100644 --- a/src/reqs.c +++ b/src/reqs.c @@ -126,7 +126,7 @@ check_allowed_connect_ports (int port) if (!ports_allowed_by_connect) return 0; - for (i = 0; i != vector_length (ports_allowed_by_connect); ++i) + for (i = 0; i != (size_t)vector_length (ports_allowed_by_connect); ++i) { data = vector_getentry (ports_allowed_by_connect, i, NULL); if (data && *data == port) -- cgit v1.2.3