summaryrefslogtreecommitdiff
path: root/source/auth/auth_domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/auth/auth_domain.c')
-rw-r--r--source/auth/auth_domain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c
index 6360d10b692..bedd318c3c3 100644
--- a/source/auth/auth_domain.c
+++ b/source/auth/auth_domain.c
@@ -403,7 +403,7 @@ static NTSTATUS check_trustdomain_security(const struct auth_context *auth_conte
#if 0
/* Test if machine password is expired and need to be changed */
- if (time(NULL) > last_change_time + lp_machine_password_timeout())
+ if (time(NULL) > last_change_time + (time_t)lp_machine_password_timeout())
{
global_machine_password_needs_changing = True;
}