diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index b0468812cc..965b6b5535 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -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;