From ad7dd1cf71a80f707a01af9874777ba88d79dcd8 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 7 Mar 2010 19:11:48 +0100 Subject: s4:resolve_oids LDB module - change counter variables to "unsigned" where appropriate --- source4/dsdb/samdb/ldb_modules/resolve_oids.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source4/dsdb/samdb') diff --git a/source4/dsdb/samdb/ldb_modules/resolve_oids.c b/source4/dsdb/samdb/ldb_modules/resolve_oids.c index ba4103371e..5ff246b191 100644 --- a/source4/dsdb/samdb/ldb_modules/resolve_oids.c +++ b/source4/dsdb/samdb/ldb_modules/resolve_oids.c @@ -90,7 +90,7 @@ static int resolve_oids_parse_tree_need(struct ldb_context *ldb, struct dsdb_schema *schema, const struct ldb_parse_tree *tree) { - int i; + unsigned int i; const struct dsdb_attribute *a = NULL; const char *attr; const char *p1; @@ -169,7 +169,7 @@ static int resolve_oids_element_need(struct ldb_context *ldb, struct dsdb_schema *schema, const struct ldb_message_element *el) { - int i; + unsigned int i; const struct dsdb_attribute *a = NULL; const char *p1; @@ -285,7 +285,7 @@ static int resolve_oids_parse_tree_replace(struct ldb_context *ldb, struct dsdb_schema *schema, struct ldb_parse_tree *tree) { - int i; + unsigned int i; const struct dsdb_attribute *a = NULL; const char **attrp; const char *p1; @@ -366,7 +366,7 @@ static int resolve_oids_element_replace(struct ldb_context *ldb, struct dsdb_schema *schema, struct ldb_message_element *el) { - int i; + unsigned int i; const struct dsdb_attribute *a = NULL; const char *p1; @@ -399,7 +399,7 @@ static int resolve_oids_message_replace(struct ldb_context *ldb, struct dsdb_schema *schema, struct ldb_message *msg) { - int i; + unsigned int i; for (i=0; i < msg->num_elements; i++) { int ret; -- cgit