diff options
author | Michael Adam <obnox@samba.org> | 2009-08-09 23:01:32 +0200 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2009-08-09 23:01:32 +0200 |
commit | eb0deeb9666d61f26cb3732440467b3b8d5222fb (patch) | |
tree | bd8a5e837b40252d164ecefa588890c4c1a565d0 /src | |
parent | caee88c774ab689caf8c2fd81b3b5ee6fa139c92 (diff) |
fix signed vs unsigned comparison warning in check_allowed_connect_ports().
Michael
Diffstat (limited to 'src')
-rw-r--r-- | src/reqs.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |