]> git.sur5r.net Git - openldap/commitdiff
Cast away const
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 21 Sep 2007 12:58:34 +0000 (12:58 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 21 Sep 2007 12:58:34 +0000 (12:58 +0000)
servers/slapd/overlays/dynlist.c

index b0468812cc32ab06795c1b05eddacc0becb8c2e5..965b6b553540219219b87a89f2cf917b8e16aa5c 100644 (file)
@@ -684,7 +684,7 @@ done:;
                }
 
                o.ors_filterstr = *slap_filterstr_objectClass_pres;
-               o.ors_filter = slap_filter_objectClass_pres;
+               o.ors_filter = (Filter *) slap_filter_objectClass_pres;
 
                o.ors_scope = LDAP_SCOPE_BASE;
                o.ors_deref = LDAP_DEREF_NEVER;