summaryrefslogtreecommitdiff
path: root/source4/lib/ldb/common
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-13 14:03:09 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-10-13 13:35:21 +0000
commit9bdea1b384794cd93d728810f916aea3fd055605 (patch)
treedca6b64d26ae89eb47b587551f45d349778b76c8 /source4/lib/ldb/common
parentbeb5afea54e279e348779c5b01070803ed59c775 (diff)
downloadsamba-9bdea1b384794cd93d728810f916aea3fd055605.tar.gz
samba-9bdea1b384794cd93d728810f916aea3fd055605.tar.bz2
samba-9bdea1b384794cd93d728810f916aea3fd055605.zip
ldb:ldb_match.c - fix a counter type
Diffstat (limited to 'source4/lib/ldb/common')
-rw-r--r--source4/lib/ldb/common/ldb_match.c2
1 files changed, 1 insertions, 1 deletions
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;