From 1cfeeaade003519916c3c15d20bc1397a4d5df2b Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 8 Sep 1999 17:28:02 +0000 Subject: [PATCH] db2 flags should be u_int32_t, not int. --- servers/slapd/back-bdb2/startup.c | 2 +- servers/slapd/back-ldbm/startup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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; -- 2.39.5