summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-28 11:25:43 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-28 14:51:09 +0200
commitfc2d8fcb83909845e4b4676ba37143dcb778d5ff (patch)
treea12198ba3588dcc8938cb6efac72d2a39fdcb20b /source4
parente5c5d371d144847ce1fbb8daa634d6bfbc1af1ac (diff)
downloadsamba-fc2d8fcb83909845e4b4676ba37143dcb778d5ff.tar.gz
samba-fc2d8fcb83909845e4b4676ba37143dcb778d5ff.tar.bz2
samba-fc2d8fcb83909845e4b4676ba37143dcb778d5ff.zip
s4:acl LDB module - fix counter type
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/acl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c
index b2aeb2adb7..bd788d43d6 100644
--- a/source4/dsdb/samdb/ldb_modules/acl.c
+++ b/source4/dsdb/samdb/ldb_modules/acl.c
@@ -704,7 +704,8 @@ static int acl_check_self_membership(struct ldb_module *module,
const struct GUID *oc_guid,
const struct dsdb_attribute *attr)
{
- int ret, i;
+ int ret;
+ unsigned int i;
TALLOC_CTX *tmp_ctx = talloc_new(req);
struct ldb_context *ldb = ldb_module_get_ctx(module);
struct ldb_dn *user_dn;