From e35ffd471b58381b187ce06fe85274fabc9750f3 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 4 Jul 2005 05:24:00 +0000 Subject: [PATCH] Cast away const --- servers/slapd/root_dse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ) { -- 2.39.5