From: Howard Chu Date: Wed, 24 Mar 2004 10:47:31 +0000 (+0000) Subject: Silence warning X-Git-Tag: OPENLDAP_REL_ENG_2_2_BP~180 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=81df94acaa4829458ab0f071c62c718c13022f9d;p=openldap Silence warning --- diff --git a/servers/slapd/connection.c b/servers/slapd/connection.c index 5fe614e50a..b829d2c8ca 100644 --- a/servers/slapd/connection.c +++ b/servers/slapd/connection.c @@ -1176,7 +1176,7 @@ int connection_client_setup( { Connection *c; - if ( connection_init( s, &dummy_list, "", "", CONN_IS_CLIENT, 0, NULL ) < 0 ) { + if ( connection_init( s, (Listener *)&dummy_list, "", "", CONN_IS_CLIENT, 0, NULL ) < 0 ) { return -1; }