Remove unnecessary cast to (void **)

Fixes a compiler warning about dereferencing type-punned pointers.
This commit is contained in:
Mukund Sivaraman 2010-01-25 21:36:18 +05:30
parent 0697a9047d
commit 2d85a69e49

View File

@ -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));
}
/*