summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/reqs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reqs.c b/src/reqs.c
index 5ee9382..8250872 100644
--- a/src/reqs.c
+++ b/src/reqs.c
@@ -128,7 +128,7 @@ check_allowed_connect_ports (int port)
for (i = 0; i != (size_t)vector_length (ports_allowed_by_connect); ++i)
{
- data = vector_getentry (ports_allowed_by_connect, i, NULL);
+ data = (int *)vector_getentry (ports_allowed_by_connect, i, NULL);
if (data && *data == port)
return 1;
}