From 6b679875ae1b01a83102ae61e085e04703ffced7 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 8 Nov 2011 19:06:46 -0800 Subject: [PATCH] Fix u_intX -> uintX --- servers/slapd/back-mdb/back-mdb.h | 6 +++--- servers/slapd/back-mdb/dn2id.c | 2 +- servers/slapd/back-mdb/init.c | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/servers/slapd/back-mdb/back-mdb.h b/servers/slapd/back-mdb/back-mdb.h index a67d939813..603812830b 100644 --- a/servers/slapd/back-mdb/back-mdb.h +++ b/servers/slapd/back-mdb/back-mdb.h @@ -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; diff --git a/servers/slapd/back-mdb/dn2id.c b/servers/slapd/back-mdb/dn2id.c index 45a36e2804..aebf57ced7 100644 --- a/servers/slapd/back-mdb/dn2id.c +++ b/servers/slapd/back-mdb/dn2id.c @@ -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 ); diff --git a/servers/slapd/back-mdb/init.c b/servers/slapd/back-mdb/init.c index 8b08fc0cad..7f14509bed 100644 --- a/servers/slapd/back-mdb/init.c +++ b/servers/slapd/back-mdb/init.c @@ -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; -- 2.39.5