From 0ab060091e02c4808248211d5274665616f8b448 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 22 Nov 2010 13:45:11 +0000 Subject: [PATCH] Silence gcc -Wsign-compare (no real change) --- servers/slapd/overlays/sssvlv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.39.5