summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/connect-ports.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/connect-ports.c b/src/connect-ports.c
index 011e98c..41b4e3d 100644
--- a/src/connect-ports.c
+++ b/src/connect-ports.c
@@ -38,7 +38,7 @@ void add_connect_port_allowed (int port, vector_t *connect_ports)
log_message (LOG_INFO,
"Adding Port [%d] to the list allowed by CONNECT", port);
- vector_append (*connect_ports, (void **) &port, sizeof (port));
+ vector_append (*connect_ports, &port, sizeof (port));
}
/*