s4:acl LDB module - fix counter type
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 28 Jun 2010 09:25:43 +0000 (11:25 +0200)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Mon, 28 Jun 2010 12:51:09 +0000 (14:51 +0200)
source4/dsdb/samdb/ldb_modules/acl.c

index b2aeb2adb7680f485bf559a478612f0c5fe111c4..bd788d43d6e54fbb68c5ae8925c1b74cab7224bd 100644 (file)
@@ -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;