mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-03-07 14:18:15 +08:00
remove lint
This commit is contained in:
parent
5e6e27078c
commit
beaf090bbb
@ -622,7 +622,7 @@ idl_insert_key(
|
|||||||
/* is there a next block? */
|
/* is there a next block? */
|
||||||
if ( !first && !ID_BLOCK_NOID(idl, i + 1) ) {
|
if ( !first && !ID_BLOCK_NOID(idl, i + 1) ) {
|
||||||
#else
|
#else
|
||||||
if ( !first && (i + 1) < ID_BLOCK_NIDS(idl) ) {
|
if ( !first && (unsigned long)(i + 1) < ID_BLOCK_NIDS(idl) ) {
|
||||||
#endif
|
#endif
|
||||||
/* read it in */
|
/* read it in */
|
||||||
cont_alloc( &k2, &key );
|
cont_alloc( &k2, &key );
|
||||||
@ -751,7 +751,7 @@ split:
|
|||||||
#ifndef USE_INDIRECT_NIDS
|
#ifndef USE_INDIRECT_NIDS
|
||||||
for ( j = 0; !ID_BLOCK_NOID(idl, j); j++ ) {
|
for ( j = 0; !ID_BLOCK_NOID(idl, j); j++ ) {
|
||||||
#else
|
#else
|
||||||
for ( j = 0; j < ID_BLOCK_NIDS(idl); j++ ) {
|
for ( j = 0; (unsigned long) j < ID_BLOCK_NIDS(idl); j++ ) {
|
||||||
#endif
|
#endif
|
||||||
cont_id( &k2, ID_BLOCK_ID(idl, j) );
|
cont_id( &k2, ID_BLOCK_ID(idl, j) );
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user