]> git.sur5r.net Git - openldap/commitdiff
Cast away const
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 4 Jul 2005 05:24:00 +0000 (05:24 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 4 Jul 2005 05:24:00 +0000 (05:24 +0000)
servers/slapd/root_dse.c

index 3b3cb12f0cccc407de49ba3b79a4bfac73b870e2..64389ccd170d43bbebdc56d775e95c7c617214b2 100644 (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 ) {