]> git.sur5r.net Git - openldap/commitdiff
Fix previous idl_find patch. Cannot test <=0 with unsigned ints, duh...
authorHoward Chu <hyc@openldap.org>
Sat, 22 Sep 2001 04:10:03 +0000 (04:10 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 22 Sep 2001 04:10:03 +0000 (04:10 +0000)
servers/slapd/back-ldbm/idl.c

index fd38d323e877bbb07eaca357c0ba4ac292d567a1..a3fa50eb77109cd4a848a33882845125a138b88c 100644 (file)
@@ -306,7 +306,7 @@ idl_find(
     ID         id
 )
 {
-       unsigned int lo=0, hi=ID_BLOCK_NIDS(b)-1, nr;
+       int lo=0, hi=ID_BLOCK_NIDS(b)-1, nr;
 
        for (;lo<=hi;)
        {