From 787a42ef9972eca3f3889e2ad8b5e890b7c551fd Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sat, 5 Jun 2010 20:08:45 +0200 Subject: s4:acl LDB module - fix counter types where appropriate --- source4/dsdb/samdb/ldb_modules/acl.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules') 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; -- cgit