summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-02 21:24:49 +0200
committerMatthias Dieter Wallnöfer <mdw@samba.org>2010-06-07 14:47:20 +0200
commit95da72432560c042400faccb7f16d9ab9cd38df1 (patch)
tree2d32aa03c4b0d15ac361868b0aa98ea6cf870ff3 /source4/dsdb/samdb/ldb_modules
parent0408ec11a9503a6e523651cc078334158c8c6f53 (diff)
downloadsamba-95da72432560c042400faccb7f16d9ab9cd38df1.tar.gz
samba-95da72432560c042400faccb7f16d9ab9cd38df1.tar.bz2
samba-95da72432560c042400faccb7f16d9ab9cd38df1.zip
s4:objectclass LDB module - fix counter variable types
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c
index 9a31115533..ad17a029d5 100644
--- a/source4/dsdb/samdb/ldb_modules/objectclass.c
+++ b/source4/dsdb/samdb/ldb_modules/objectclass.c
@@ -575,7 +575,7 @@ static int objectclass_do_add(struct oc_context *ac)
= ldb_msg_find_element(ac->search_res->message, "objectClass");
bool allowed_class = false;
- int i, j;
+ unsigned int i, j;
for (i=0; allowed_class == false && oc_el && i < oc_el->num_values; i++) {
const struct dsdb_class *sclass;