1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-21 18:04:06 +03:00

rpcclient: Fix Coverity ID 1508978 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:
Volker Lendecke 2024-12-04 17:03:46 +01:00
parent be20007cc7
commit 7116dca925

View File

@ -176,8 +176,8 @@ static void display_sam_dom_info_2(struct samr_DomGeneralInformation *general)
static void display_sam_dom_info_3(struct samr_DomInfo3 *info3)
{
printf("Force Logoff:\t%d\n",
(int)nt_time_to_unix_abs(&info3->force_logoff_time));
printf("Force Logoff:\t%" PRIu64 "\n",
(uint64_t)nt_time_to_unix_abs(&info3->force_logoff_time));
}
static void display_sam_dom_info_4(struct samr_DomOEMInformation *oem)