From: Hallvard Furuseth Date: Fri, 22 Jul 2005 13:28:49 +0000 (+0000) Subject: rs->sr_flags should be saved in variables of type slap_mask_t, not int. X-Git-Tag: OPENLDAP_AC_BP~243 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=cc27d26f4898bb0879024198011e1c1a62e07178;p=openldap rs->sr_flags should be saved in variables of type slap_mask_t, not int. --- diff --git a/servers/slapd/overlays/dynlist.c b/servers/slapd/overlays/dynlist.c index a92a180d56..e28d7315bc 100644 --- a/servers/slapd/overlays/dynlist.c +++ b/servers/slapd/overlays/dynlist.c @@ -289,7 +289,7 @@ dynlist_send_entry( Operation *op, SlapReply *rs ) SlapReply r = { REP_SEARCH }; struct berval *url; Entry *e; - int e_flags; + slap_mask_t e_flags; int opattrs, userattrs; dynlist_sc_t dlc = { 0 }; diff --git a/servers/slapd/overlays/rwm.c b/servers/slapd/overlays/rwm.c index b458383231..9369a1ade3 100644 --- a/servers/slapd/overlays/rwm.c +++ b/servers/slapd/overlays/rwm.c @@ -998,7 +998,7 @@ rwm_send_entry( Operation *op, SlapReply *rs ) (struct ldaprwmap *)on->on_bi.bi_private; Entry *e = NULL; - int flags; + slap_mask_t flags; struct berval dn = BER_BVNULL, ndn = BER_BVNULL; dncookie dc;