Cast away const

This commit is contained in:
Hallvard Furuseth 2005-07-04 05:24:00 +00:00
parent b746066b9b
commit e35ffd471b

View File

@ -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 ) {