]> git.sur5r.net Git - openldap/commitdiff
Silence gcc -Wsign-compare (no real change)
authorQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 16:43:32 +0000 (16:43 +0000)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 4 Jan 2011 16:43:32 +0000 (16:43 +0000)
servers/slapd/overlays/sssvlv.c

index c12c21ef1a4cf981b55ec1657032a14c5baccc4b..f735b72ea00e5bea39427dfbba7d435ba54b030d 100644 (file)
@@ -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;