]> git.sur5r.net Git - openldap/commitdiff
Fix u_intX -> uintX
authorHoward Chu <hyc@openldap.org>
Wed, 9 Nov 2011 03:06:46 +0000 (19:06 -0800)
committerHoward Chu <hyc@openldap.org>
Wed, 9 Nov 2011 03:06:46 +0000 (19:06 -0800)
servers/slapd/back-mdb/back-mdb.h
servers/slapd/back-mdb/dn2id.c
servers/slapd/back-mdb/init.c

index a67d9398132144cfecd8a591b9e4a126c5cb173e..603812830b86031abcd9312d0929bfc572330f73 100644 (file)
@@ -65,7 +65,7 @@ struct mdb_info {
        /* DB_ENV parameters */
        /* The DB_ENV can be tuned via DB_CONFIG */
        char            *mi_dbenv_home;
-       u_int32_t       mi_dbenv_flags;
+       uint32_t        mi_dbenv_flags;
        int                     mi_dbenv_mode;
 
        size_t          mi_mapsize;
@@ -78,8 +78,8 @@ struct mdb_info {
        int                     mi_readers;
 
        int                     mi_txn_cp;
-       u_int32_t       mi_txn_cp_min;
-       u_int32_t       mi_txn_cp_kbyte;
+       uint32_t        mi_txn_cp_min;
+       uint32_t        mi_txn_cp_kbyte;
        struct re_s             *mi_txn_cp_task;
        struct re_s             *mi_index_task;
 
index 45a36e28048d8e24b44f1cda3732759cd854a0d6..aebf57ced7403e11f1023993ade751d2a8714679 100644 (file)
@@ -903,7 +903,7 @@ mdb_dn2idl_internal(
                        /* Fetch the rest of the IDs in a loop... */
                        while ( (cx->rc = cx->dbc->c_get( cx->dbc, &cx->key, &cx->data,
                                DB_MULTIPLE | DB_NEXT_DUP )) == 0 ) {
-                               u_int8_t *j;
+                               uint8_t *j;
                                size_t len;
                                void *ptr;
                                DB_MULTIPLE_INIT( ptr, &cx->data );
index 8b08fc0cade895137466a1f5fc6591d24350d683..7f14509bed9f7794302d269f28435cd7b1e267b2 100644 (file)
@@ -84,7 +84,7 @@ mdb_db_open( BackendDB *be, ConfigReply *cr )
        int rc, i;
        struct mdb_info *mdb = (struct mdb_info *) be->be_private;
        struct stat stat1;
-       u_int32_t flags;
+       uint32_t flags;
        char *dbhome;
        MDB_txn *txn;