--- libraries/libldap/result.c 2008/09/26 22:23:05 1.124.2.13 +++ libraries/libldap/result.c 2008/11/10 17:39:16 1.124.2.14 @@ -1,5 +1,5 @@ /* result.c - wait for an ldap result */ -/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.124.2.12 2008/07/09 23:16:48 quanah Exp $ */ +/* $OpenLDAP: pkg/ldap/libraries/libldap/result.c,v 1.124.2.13 2008/09/26 22:23:05 quanah Exp $ */ /* This work is part of OpenLDAP Software . * * Copyright 1998-2008 The OpenLDAP Foundation. @@ -1435,7 +1435,7 @@ ldap_mark_abandoned( LDAP *ld, ber_int_t /* NOTE: those assertions are repeated in ldap_int_bisect_delete() */ assert( idx >= 0 ); - assert( idx < ld->ld_nabandoned ); + assert( (unsigned) idx < ld->ld_nabandoned ); assert( ld->ld_abandoned[ idx ] == msgid ); return ldap_int_bisect_delete( &ld->ld_abandoned, &ld->ld_nabandoned,