From: Pierangelo Masarati Date: Mon, 17 Aug 2009 23:02:50 +0000 (+0000) Subject: silence warning X-Git-Tag: ACLCHECK_0~309 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7c15998121b80a5e9c5904c1a771c27fd23bd567;p=openldap silence warning --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 5283821839..16370ddc79 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3500,7 +3500,7 @@ config_updatedn(ConfigArgs *c) { } int -config_shadow( ConfigArgs *c, int flag ) +config_shadow( ConfigArgs *c, slap_mask_t flag ) { char *notallowed = NULL; diff --git a/servers/slapd/config.h b/servers/slapd/config.h index 4c929dea6d..0cd34b4021 100644 --- a/servers/slapd/config.h +++ b/servers/slapd/config.h @@ -197,7 +197,7 @@ Entry * config_build_entry( Operation *op, SlapReply *rs, CfEntryInfo *parent, ConfigArgs *c, struct berval *rdn, ConfigOCs *main, ConfigOCs *extra ); Listener *config_check_my_url(const char *url, LDAPURLDesc *lud); -int config_shadow( ConfigArgs *c, int flag ); +int config_shadow( ConfigArgs *c, slap_mask_t flag ); #define config_slurp_shadow(c) config_shadow((c), SLAP_DBFLAG_SLURP_SHADOW) #define config_sync_shadow(c) config_shadow((c), SLAP_DBFLAG_SYNC_SHADOW)