diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-22 23:53:17 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-23 00:16:18 +0100 |
commit | 6a63c38c1258e5a666f11b5b795828ea7bedbf14 (patch) | |
tree | 9413937c93252cd94ecbf15edc48cc57adac37f2 /source4/dsdb/samdb/ldb_modules | |
parent | 7509b56b5f59a7aeeb2ad1538ef71cbb8b459948 (diff) | |
download | samba-6a63c38c1258e5a666f11b5b795828ea7bedbf14.tar.gz samba-6a63c38c1258e5a666f11b5b795828ea7bedbf14.tar.bz2 samba-6a63c38c1258e5a666f11b5b795828ea7bedbf14.zip |
s4:ldb_modules/util.c - fix two counter variables to be "unsigned"
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c index d04a5f7b47..f8a634379f 100644 --- a/source4/dsdb/samdb/ldb_modules/util.c +++ b/source4/dsdb/samdb/ldb_modules/util.c @@ -379,7 +379,7 @@ int dsdb_module_add(struct ldb_module *module, const struct dsdb_class * get_last_structural_class(const struct dsdb_schema *schema,const struct ldb_message_element *element) { const struct dsdb_class *last_class = NULL; - int i; + unsigned int i; for (i = 0; i < element->num_values; i++){ const struct dsdb_class *tmp_class = dsdb_class_by_lDAPDisplayName_ldb_val(schema, &element->values[i]); @@ -413,7 +413,7 @@ int dsdb_check_single_valued_link(const struct dsdb_attribute *attr, const struct ldb_message_element *el) { bool found_active = false; - int i; + unsigned int i; if (!(attr->ldb_schema_attribute->flags & LDB_ATTR_FLAG_SINGLE_VALUE) || el->num_values < 2) { |