mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-15 03:01:09 +08:00
db2 flags should be u_int32_t, not int.
This commit is contained in:
parent
324903affa
commit
1cfeeaade0
@ -38,7 +38,7 @@ bdb2i_back_startup_internal(
|
|||||||
)
|
)
|
||||||
{
|
{
|
||||||
struct ldbtype *lty = (struct ldbtype *) bi->bi_private;
|
struct ldbtype *lty = (struct ldbtype *) bi->bi_private;
|
||||||
int envFlags;
|
u_int32_t envFlags;
|
||||||
int err = 0;
|
int err = 0;
|
||||||
char *home;
|
char *home;
|
||||||
|
|
||||||
|
@ -48,7 +48,7 @@ ldbm_back_startup(
|
|||||||
#else
|
#else
|
||||||
struct ldbminfo *li = (struct ldbminfo *) be->be_private;
|
struct ldbminfo *li = (struct ldbminfo *) be->be_private;
|
||||||
DB_ENV *dbEnv = &li->li_db_env;
|
DB_ENV *dbEnv = &li->li_db_env;
|
||||||
int envFlags = DB_CREATE | DB_THREAD;
|
u_int32_t envFlags = DB_CREATE | DB_THREAD;
|
||||||
int err = 0;
|
int err = 0;
|
||||||
char *home;
|
char *home;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user