summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2020-01-19 12:29:39 +0100
committerJeremy Allison <jra@samba.org>2020-01-19 18:29:39 +0000
commit229518ec01b495e0133d83d3560a432a08307c0b (patch)
treee2002d66430bf65a231d2bb4345cedf701aa0e97 /source4
parent37eb87d2be88e0e47c72287033e9c829e9625d41 (diff)
downloadsamba-229518ec01b495e0133d83d3560a432a08307c0b.tar.gz
dsdb: Align integer types
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4')
-rw-r--r--source4/dsdb/common/util.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/dsdb/common/util.c b/source4/dsdb/common/util.c
index f1b28129c38..4050ace40c1 100644
--- a/source4/dsdb/common/util.c
+++ b/source4/dsdb/common/util.c
@@ -5439,7 +5439,8 @@ NTSTATUS dsdb_update_bad_pwd_count(TALLOC_CTX *mem_ctx,
struct ldb_message *pso_msg,
struct ldb_message **_mod_msg)
{
- int i, ret, badPwdCount;
+ int ret, badPwdCount;
+ unsigned int i;
int64_t lockoutThreshold, lockOutObservationWindow;
struct dom_sid *sid;
struct timeval tv_now = timeval_current();
@@ -5537,7 +5538,8 @@ int dsdb_user_obj_set_defaults(struct ldb_context *ldb,
struct ldb_message *usr_obj,
struct ldb_request *req)
{
- int i, ret;
+ size_t i;
+ int ret;
const struct attribute_values {
const char *name;
const char *value;