heimdal: Fix the 32-bit build on FreeBSD

Format string fixes that fail in the Samba build on a 32-bit machine

Signed-off-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Volker Lendecke
2022-07-22 18:38:21 +02:00
committed by Jeffrey Altman
parent 603e673130
commit f4faaeaba3
5 changed files with 7 additions and 7 deletions

View File

@@ -849,7 +849,7 @@ heim_audit_addkv_timediff(heim_svc_req_desc r, const char *k,
sec -= 1;
}
heim_audit_addkv(r, 0, k, "%s%ld.%06d", sign, sec, usec);
heim_audit_addkv(r, 0, k, "%s%ld.%06d", sign, (long)sec, usec);
}
void