]> git.sur5r.net Git - openldap/commitdiff
db2 flags should be u_int32_t, not int.
authorKurt Zeilenga <kurt@openldap.org>
Wed, 8 Sep 1999 17:28:02 +0000 (17:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 8 Sep 1999 17:28:02 +0000 (17:28 +0000)
servers/slapd/back-bdb2/startup.c
servers/slapd/back-ldbm/startup.c

index 1eff94317d8483ae89cb823cce2aba2525a1ac04..289a4fd298cea33c5dbcae97aef12adcbc6f53c7 100644 (file)
@@ -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;
 
index 0a329f96f197d8acb5c4dfb252c6ef40c95d32a3..ce2f87c18ade2b2d7ee90e0dcec7b44ef70b9fa6 100644 (file)
@@ -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;