summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:11:48 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:11:48 +0100
commitad7dd1cf71a80f707a01af9874777ba88d79dcd8 (patch)
tree502fbfeb251c35fc67518e3cd1bbe516b4c10392 /source4
parentb85b9b364faca9c3c3aef467f3825b3055de9622 (diff)
downloadsamba-ad7dd1cf71a80f707a01af9874777ba88d79dcd8.tar.gz
samba-ad7dd1cf71a80f707a01af9874777ba88d79dcd8.tar.bz2
samba-ad7dd1cf71a80f707a01af9874777ba88d79dcd8.zip
s4:resolve_oids LDB module - change counter variables to "unsigned" where appropriate
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/samdb/ldb_modules/resolve_oids.c10
1 files changed, 5 insertions, 5 deletions
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;