summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 19:04:11 +0100
committerMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2010-03-07 20:18:10 +0100
commit3bb3667b4378702ba63352bfc172869379249302 (patch)
tree45c146caab3e6522eaec45ba8b933a17eb34fc88
parent6997185e36a0f497e78ff18481ee3a1a0a9aa059 (diff)
downloadsamba-3bb3667b4378702ba63352bfc172869379249302.tar.gz
samba-3bb3667b4378702ba63352bfc172869379249302.tar.bz2
samba-3bb3667b4378702ba63352bfc172869379249302.zip
s4:local_password LDB module - change counter variables to "unsigned" where appropriate
-rw-r--r--source4/dsdb/samdb/ldb_modules/local_password.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/local_password.c b/source4/dsdb/samdb/ldb_modules/local_password.c
index 9c386b354d..aa4d3af9e2 100644
--- a/source4/dsdb/samdb/ldb_modules/local_password.c
+++ b/source4/dsdb/samdb/ldb_modules/local_password.c
@@ -151,7 +151,7 @@ static int local_password_add(struct ldb_module *module, struct ldb_request *req
struct lpdb_context *ac;
struct GUID objectGUID;
int ret;
- int i;
+ unsigned int i;
ldb = ldb_module_get_ctx(module);
ldb_debug(ldb, LDB_DEBUG_TRACE, "local_password_add\n");
@@ -311,7 +311,7 @@ static int local_password_modify(struct ldb_module *module, struct ldb_request *
struct ldb_message *remote_message;
struct ldb_request *remote_req;
int ret;
- int i;
+ unsigned int i;
ldb = ldb_module_get_ctx(module);
ldb_debug(ldb, LDB_DEBUG_TRACE, "local_password_modify\n");
@@ -784,7 +784,7 @@ static int lpdb_local_search_callback(struct ldb_request *req,
struct ldb_reply *merge;
struct lpdb_reply *lr;
int ret;
- int i;
+ unsigned int i;
ac = talloc_get_type(req->context, struct lpdb_context);
ldb = ldb_module_get_ctx(ac->module);
@@ -1013,7 +1013,7 @@ static int local_password_search(struct ldb_module *module, struct ldb_request *
struct ldb_context *ldb;
struct ldb_request *remote_req;
struct lpdb_context *ac;
- int i;
+ unsigned int i;
int ret;
const char * const *search_attrs = NULL;