summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-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;