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

libcli: Fix a potential 32-bit problem with PRIu32

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Pavel Filipenský <pfilipensky@samba.org>
This commit is contained in:
Volker Lendecke 2024-11-28 18:44:02 +01:00
parent ddc88fa8b6
commit 84faa9dbb4

View File

@ -184,8 +184,9 @@ void display_sec_acl(struct security_acl *sec_acl)
{ {
uint32_t i; uint32_t i;
printf("\tACL\tNum ACEs:\t%u\trevision:\t%x\n", printf("\tACL\tNum ACEs:\t%" PRIu32 "\trevision:\t%x\n",
sec_acl->num_aces, sec_acl->revision); sec_acl->num_aces,
sec_acl->revision);
printf("\t---\n"); printf("\t---\n");
if (sec_acl->size != 0 && sec_acl->num_aces != 0) { if (sec_acl->size != 0 && sec_acl->num_aces != 0) {