mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 11:09:34 -05:00
silence warnings
This commit is contained in:
parent
e3a2b273a4
commit
8da69a9249
2 changed files with 3 additions and 3 deletions
|
|
@ -199,7 +199,7 @@ struct bdb_info {
|
|||
struct re_s *bi_txn_cp_task;
|
||||
struct re_s *bi_index_task;
|
||||
|
||||
int bi_lock_detect;
|
||||
u_int32_t bi_lock_detect;
|
||||
long bi_shm_key;
|
||||
|
||||
ID bi_lastid;
|
||||
|
|
|
|||
|
|
@ -487,7 +487,7 @@ bdb_cf_gen( ConfigArgs *c )
|
|||
if ( bdb->bi_lock_detect != DB_LOCK_DEFAULT ) {
|
||||
int i;
|
||||
for (i=0; !BER_BVISNULL(&bdb_lockd[i].word); i++) {
|
||||
if ( bdb->bi_lock_detect == bdb_lockd[i].mask ) {
|
||||
if ( bdb->bi_lock_detect == (u_int32_t)bdb_lockd[i].mask ) {
|
||||
value_add_one( &c->rvalue_vals, &bdb_lockd[i].word );
|
||||
rc = 0;
|
||||
break;
|
||||
|
|
@ -890,7 +890,7 @@ bdb_cf_gen( ConfigArgs *c )
|
|||
c->log, c->argv[1] );
|
||||
return 1;
|
||||
}
|
||||
bdb->bi_lock_detect = rc;
|
||||
bdb->bi_lock_detect = (u_int32_t)rc;
|
||||
break;
|
||||
|
||||
case BDB_SSTACK:
|
||||
|
|
|
|||
Loading…
Reference in a new issue