From: Hallvard Furuseth Date: Mon, 4 Jul 2005 05:24:00 +0000 (+0000) Subject: Cast away const X-Git-Tag: OPENLDAP_AC_BP~461 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e35ffd471b58381b187ce06fe85274fabc9750f3;p=openldap Cast away const --- diff --git a/servers/slapd/root_dse.c b/servers/slapd/root_dse.c index 3b3cb12f0c..64389ccd17 100644 --- a/servers/slapd/root_dse.c +++ b/servers/slapd/root_dse.c @@ -324,7 +324,7 @@ slap_discover_feature( char *attrs[ 2 ] = { NULL, NULL }; ber_str2bv( val, 0, 0, &bv_val ); - attrs[ 0 ] = attr; + attrs[ 0 ] = (char *) attr; rc = ldap_initialize( &ld, uri ); if ( rc != LDAP_SUCCESS ) {