diff --git a/servers/slapd/back-bdb2/startup.c b/servers/slapd/back-bdb2/startup.c index 1eff94317d..289a4fd298 100644 --- a/servers/slapd/back-bdb2/startup.c +++ b/servers/slapd/back-bdb2/startup.c @@ -38,7 +38,7 @@ bdb2i_back_startup_internal( ) { struct ldbtype *lty = (struct ldbtype *) bi->bi_private; - int envFlags; + u_int32_t envFlags; int err = 0; char *home; diff --git a/servers/slapd/back-ldbm/startup.c b/servers/slapd/back-ldbm/startup.c index 0a329f96f1..ce2f87c18a 100644 --- a/servers/slapd/back-ldbm/startup.c +++ b/servers/slapd/back-ldbm/startup.c @@ -48,7 +48,7 @@ ldbm_back_startup( #else struct ldbminfo *li = (struct ldbminfo *) be->be_private; DB_ENV *dbEnv = &li->li_db_env; - int envFlags = DB_CREATE | DB_THREAD; + u_int32_t envFlags = DB_CREATE | DB_THREAD; int err = 0; char *home;