mirror of
https://github.com/samba-team/samba.git
synced 2025-01-18 06:04:06 +03:00
net: Fix Coverity ID 1508974 Use of 32-bit time_t
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
parent
c1b9dc9f7a
commit
be20007cc7
@ -355,8 +355,9 @@ static int account_set_minpwage(struct net_context *c,
|
||||
}
|
||||
|
||||
unix_to_nt_time_abs((NTTIME *)&i1->min_password_age, atoi(argv[0]));
|
||||
d_printf(_("Setting minimum password age to %d seconds\n"),
|
||||
(int)nt_time_to_unix_abs((NTTIME *)&i1->min_password_age));
|
||||
d_printf(_("Setting minimum password age to %" PRIu64 " seconds\n"),
|
||||
(uint64_t)nt_time_to_unix_abs(
|
||||
(NTTIME *)&i1->min_password_age));
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user