diff options
author | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-07 19:17:28 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de> | 2010-03-07 19:20:03 +0100 |
commit | cd43dd04af47e210dbab13826642c2434a1f2053 (patch) | |
tree | ebfde7d73868ecfaa79a689e83d26b401439c1b1 | |
parent | 2932df57ae77da81bf007996013ed29b170caef5 (diff) | |
download | samba-cd43dd04af47e210dbab13826642c2434a1f2053.tar.gz samba-cd43dd04af47e210dbab13826642c2434a1f2053.tar.bz2 samba-cd43dd04af47e210dbab13826642c2434a1f2053.zip |
s4:objectclass LDB module - change counter variabls to "unsigned" where appropriate
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/objectclass.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/objectclass.c b/source4/dsdb/samdb/ldb_modules/objectclass.c index 8bcac1153b..d5e28d3152 100644 --- a/source4/dsdb/samdb/ldb_modules/objectclass.c +++ b/source4/dsdb/samdb/ldb_modules/objectclass.c @@ -93,7 +93,7 @@ static int objectclass_sort(struct ldb_module *module, struct class_list **sorted_out) { struct ldb_context *ldb; - int i, lowest; + unsigned int i, lowest; struct class_list *unsorted = NULL, *sorted = NULL, *current = NULL, *poss_parent = NULL, *new_parent = NULL, *current_lowest = NULL; ldb = ldb_module_get_ctx(module); @@ -178,7 +178,7 @@ static int objectclass_sort(struct ldb_module *module, do { - lowest = INT_MAX; + lowest = UINT_MAX; current_lowest = NULL; for (current = unsorted; schema && current; current = current->next) { if(current->objectclass->subClass_order < lowest) { |