diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-05 20:08:45 +0200 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2010-06-06 20:43:38 +0200 |
commit | 787a42ef9972eca3f3889e2ad8b5e890b7c551fd (patch) | |
tree | 28f76f4d783336ea0268a4aa5fa0459de0aebcab /source4 | |
parent | fc037e029e23aeaa8debe1c17cf81bd3a859ae4a (diff) | |
download | samba-787a42ef9972eca3f3889e2ad8b5e890b7c551fd.tar.gz samba-787a42ef9972eca3f3889e2ad8b5e890b7c551fd.tar.bz2 samba-787a42ef9972eca3f3889e2ad8b5e890b7c551fd.zip |
s4:acl LDB module - fix counter types where appropriate
Diffstat (limited to 'source4')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/acl.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/acl.c b/source4/dsdb/samdb/ldb_modules/acl.c index d2b6a2b9c9..1b84e8a02f 100644 --- a/source4/dsdb/samdb/ldb_modules/acl.c +++ b/source4/dsdb/samdb/ldb_modules/acl.c @@ -411,7 +411,8 @@ static int acl_childClasses(struct ldb_module *module, struct ldb_message_element *oc_el; struct ldb_message_element *allowedClasses; const struct dsdb_class *sclass; - int i, j, ret; + unsigned int i, j; + int ret; /* If we don't have a schema yet, we can't do anything... */ if (schema == NULL) { @@ -468,7 +469,8 @@ static int acl_childClassesEffective(struct ldb_module *module, struct ldb_control *as_system = ldb_request_get_control(ac->req, LDB_CONTROL_AS_SYSTEM_OID); struct dom_sid *sid = NULL; - int i, j, ret; + unsigned int i, j; + int ret; if (as_system != NULL) { as_system->critical = 0; |