]> git.sur5r.net Git - openldap/commitdiff
Silence gcc -Wsign-compare (no real change)
authorHallvard Furuseth <hallvard@openldap.org>
Mon, 22 Nov 2010 13:45:11 +0000 (13:45 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Mon, 22 Nov 2010 13:45:11 +0000 (13:45 +0000)
servers/slapd/overlays/sssvlv.c

index 741019105ac501a60f3a06ca88d39b59515e29c5..846f4788afc1362dece941ae1daffec0ebc7c52b 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;