summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:17:28 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:20:03 +0100
commitcd43dd04af47e210dbab13826642c2434a1f2053 (patch)
treeebfde7d73868ecfaa79a689e83d26b401439c1b1 /source4/dsdb
parent2932df57ae77da81bf007996013ed29b170caef5 (diff)
downloadsamba-cd43dd04af47e210dbab13826642c2434a1f2053.tar.gz
samba-cd43dd04af47e210dbab13826642c2434a1f2053.tar.bz2
samba-cd43dd04af47e210dbab13826642c2434a1f2053.zip
s4:objectclass LDB module - change counter variabls to "unsigned" where appropriate
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/objectclass.c4
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) {