From: Hallvard Furuseth Date: Mon, 22 Nov 2010 13:45:11 +0000 (+0000) Subject: Silence gcc -Wsign-compare (no real change) X-Git-Tag: MIGRATION_CVS2GIT~405 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ab060091e02c4808248211d5274665616f8b448;p=openldap Silence gcc -Wsign-compare (no real change) --- diff --git a/servers/slapd/overlays/sssvlv.c b/servers/slapd/overlays/sssvlv.c index 741019105a..846f4788af 100644 --- a/servers/slapd/overlays/sssvlv.c +++ b/servers/slapd/overlays/sssvlv.c @@ -131,7 +131,8 @@ static struct berval* select_value( { struct berval* ber1, *ber2; MatchingRule *mr = key->sk_ordering; - int i, cmp; + unsigned i; + int cmp; ber1 = &(attr->a_nvals[0]); ber2 = ber1+1;