summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_set.c
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-11-06 20:14:41 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:01:15 +0100
commit5a54b204c3d2b6c9282cdd459a3d1030fde48926 (patch)
tree64b4f4ac60c78eb7fe348d314392490d9d434fd4 /source4/dsdb/schema/schema_set.c
parentbd5f08f3d10d12a34a9b3f40594d36f0d6d37eb9 (diff)
downloadsamba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.tar.gz
samba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.tar.bz2
samba-5a54b204c3d2b6c9282cdd459a3d1030fde48926.zip
s4:schema - Change also here counters to "unsigned" where needed
Counters which are used in the way "for (i = 0; array[i] != NULL; i++)" I modified to "unsigned" since for sure we don't want to have negative array indexes there.
Diffstat (limited to 'source4/dsdb/schema/schema_set.c')
-rw-r--r--source4/dsdb/schema/schema_set.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/dsdb/schema/schema_set.c b/source4/dsdb/schema/schema_set.c
index 3dace04304..305a0d94f3 100644
--- a/source4/dsdb/schema/schema_set.c
+++ b/source4/dsdb/schema/schema_set.c
@@ -229,7 +229,7 @@ static int dsdb_setup_sorted_accessors(struct ldb_context *ldb,
{
struct dsdb_class *cur;
struct dsdb_attribute *a;
- uint32_t i;
+ unsigned int i;
talloc_free(schema->classes_by_lDAPDisplayName);
talloc_free(schema->classes_by_governsID_id);