mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-13 14:27:59 +08:00
Warning cleanup: signed meets unsigned.
This commit is contained in:
parent
05bbe7833b
commit
670ec4f938
@ -520,7 +520,7 @@ slap_retry_info_unparse(
|
||||
|
||||
BER_BVZERO( bvout );
|
||||
|
||||
#define WHATSLEFT ( sizeof( buf ) - ( ptr - buf ) )
|
||||
#define WHATSLEFT ( &buf[ sizeof( buf ) ] - ptr )
|
||||
|
||||
for ( i = 0; ri->ri_num[ i ] != SLAP_RETRYNUM_TAIL; i++ ) {
|
||||
if ( i > 0 ) {
|
||||
|
@ -469,7 +469,7 @@ ldap_back_monitor_db_open( BackendDB *be )
|
||||
ptr = lutil_strncopy( ptr, suffix.bv_val, suffix.bv_len );
|
||||
ptr = lutil_strcopy( ptr, "))" );
|
||||
ptr[ 0 ] = '\0';
|
||||
assert( filter->bv_len == ptr - filter->bv_val );
|
||||
assert( ptr == &filter->bv_val[ filter->bv_len ] );
|
||||
|
||||
if ( suffix.bv_val != be->be_nsuffix[ 0 ].bv_val ) {
|
||||
ch_free( suffix.bv_val );
|
||||
|
Loading…
Reference in New Issue
Block a user