From 7c15998121b80a5e9c5904c1a771c27fd23bd567 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 17 Aug 2009 23:02:50 +0000 Subject: [PATCH] silence warning --- servers/slapd/bconfig.c | 2 +- servers/slapd/config.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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) -- 2.39.5