From beaf090bbb96bf7a0bf6e1dc8fef6fc431816dfa Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 15 Jan 2002 17:18:18 +0000 Subject: [PATCH] remove lint --- servers/slapd/back-ldbm/idl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index 03b8692a9c..604bbe6117 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -622,7 +622,7 @@ idl_insert_key( /* is there a next block? */ if ( !first && !ID_BLOCK_NOID(idl, i + 1) ) { #else - if ( !first && (i + 1) < ID_BLOCK_NIDS(idl) ) { + if ( !first && (unsigned long)(i + 1) < ID_BLOCK_NIDS(idl) ) { #endif /* read it in */ cont_alloc( &k2, &key ); @@ -751,7 +751,7 @@ split: #ifndef USE_INDIRECT_NIDS for ( j = 0; !ID_BLOCK_NOID(idl, j); j++ ) { #else - for ( j = 0; j < ID_BLOCK_NIDS(idl); j++ ) { + for ( j = 0; (unsigned long) j < ID_BLOCK_NIDS(idl); j++ ) { #endif cont_id( &k2, ID_BLOCK_ID(idl, j) ); -- 2.39.5