From 3bb3667b4378702ba63352bfc172869379249302 Mon Sep 17 00:00:00 2001 From: Matthias Dieter Wallnöfer Date: Sun, 7 Mar 2010 19:04:11 +0100 Subject: s4:local_password LDB module - change counter variables to "unsigned" where appropriate --- source4/dsdb/samdb/ldb_modules/local_password.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source4/dsdb/samdb/ldb_modules') 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; -- cgit