ldb:ldb_match.c - fix a counter type
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 13 Oct 2010 12:03:09 +0000 (14:03 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Wed, 13 Oct 2010 13:35:21 +0000 (13:35 +0000)
source4/lib/ldb/common/ldb_match.c

index bf4c7869329f88e688223a8a2c008bb222b0e364..a42cf9449d338320b0fb9bcae35877c5f254c6c1 100644 (file)
@@ -103,7 +103,7 @@ static int ldb_match_present(struct ldb_context *ldb,
        }
 
        if (a->syntax->operator_fn) {
-               int i;
+               unsigned int i;
                for (i = 0; i < el->num_values; i++) {
                        int ret = a->syntax->operator_fn(ldb, LDB_OP_PRESENT, a, &el->values[i], NULL, matched);
                        if (ret != LDB_SUCCESS) return ret;