mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
net: Fix Coverity ID 1509022 Use of 32-bit time_t
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Martin Schwenke <martin@meltin.net>
This commit is contained in:
parent
6421b82c1d
commit
9558cb6ef6
@ -295,8 +295,8 @@ static int account_set_lockduration(struct net_context *c,
|
||||
}
|
||||
|
||||
unix_to_nt_time_abs(&i12->lockout_duration, atoi(argv[0]));
|
||||
d_printf(_("Setting lockout duration to %d seconds\n"),
|
||||
(int)nt_time_to_unix_abs(&i12->lockout_duration));
|
||||
d_printf(_("Setting lockout duration to %" PRIi64 " seconds\n"),
|
||||
(int64_t)nt_time_to_unix_abs(&i12->lockout_duration));
|
||||
|
||||
return 12;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user