From 48ac6100977da1cb4c1415ec69d5c5c2eecb2592 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sat, 6 Mar 2004 19:16:20 +0000 Subject: [PATCH] ITS#3004 fix again --- servers/slapd/back-bdb/idl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/servers/slapd/back-bdb/idl.c b/servers/slapd/back-bdb/idl.c index 5ecae44977..d6a29083d6 100644 --- a/servers/slapd/back-bdb/idl.c +++ b/servers/slapd/back-bdb/idl.c @@ -59,7 +59,7 @@ bdb_idl_entry_cmp( const void *v_idl1, const void *v_idl2 ) const bdb_idl_cache_entry_t *idl1 = v_idl1, *idl2 = v_idl2; int rc; - if ((rc = idl1->db - idl2->db )) return rc; + if ((rc = SLAP_PTRCMP( idl1->db, idl2->db ))) return rc; if ((rc = idl1->kstr.bv_len - idl2->kstr.bv_len )) return rc; return ( memcmp ( idl1->kstr.bv_val, idl2->kstr.bv_val , idl1->kstr.bv_len ) ); } -- 2.39.5