From 84faa9dbb4703a9f5f679c5d71f72b8c31a16dcb Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 28 Nov 2024 18:44:02 +0100 Subject: [PATCH] libcli: Fix a potential 32-bit problem with PRIu32 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Volker Lendecke Reviewed-by: Pavel Filipenský --- libcli/security/display_sec.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libcli/security/display_sec.c b/libcli/security/display_sec.c index 33fe77b8f25..b525e5ef8c9 100644 --- a/libcli/security/display_sec.c +++ b/libcli/security/display_sec.c @@ -184,8 +184,9 @@ void display_sec_acl(struct security_acl *sec_acl) { uint32_t i; - printf("\tACL\tNum ACEs:\t%u\trevision:\t%x\n", - sec_acl->num_aces, sec_acl->revision); + printf("\tACL\tNum ACEs:\t%" PRIu32 "\trevision:\t%x\n", + sec_acl->num_aces, + sec_acl->revision); printf("\t---\n"); if (sec_acl->size != 0 && sec_acl->num_aces != 0) {