From 00a28378f8e74db5e6b80e0bc32168703738fd4f Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 22 Sep 2001 04:10:03 +0000 Subject: [PATCH] Fix previous idl_find patch. Cannot test <=0 with unsigned ints, duh... --- servers/slapd/back-ldbm/idl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-ldbm/idl.c b/servers/slapd/back-ldbm/idl.c index fd38d323e8..a3fa50eb77 100644 --- a/servers/slapd/back-ldbm/idl.c +++ b/servers/slapd/back-ldbm/idl.c @@ -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;) { -- 2.39.5