From 9bdea1b384794cd93d728810f916aea3fd055605 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Wed, 13 Oct 2010 14:03:09 +0200 Subject: ldb:ldb_match.c - fix a counter type --- source4/lib/ldb/common/ldb_match.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') diff --git a/source4/lib/ldb/common/ldb_match.c b/source4/lib/ldb/common/ldb_match.c index bf4c786932..a42cf9449d 100644 --- a/source4/lib/ldb/common/ldb_match.c +++ b/source4/lib/ldb/common/ldb_match.c @@ -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; -- cgit