From 28b84ac68460d5352b47063438d498832efd9500 Mon Sep 17 00:00:00 2001 From: Joseph Sutton Date: Thu, 10 Aug 2023 11:29:52 +1200 Subject: [PATCH] auth: Use portable format specifier Also, correctly format the value as unsigned. Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- auth/kerberos/kerberos_pac.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/auth/kerberos/kerberos_pac.c b/auth/kerberos/kerberos_pac.c index b914075d85c..8d3b467622d 100644 --- a/auth/kerberos/kerberos_pac.c +++ b/auth/kerberos/kerberos_pac.c @@ -62,8 +62,8 @@ krb5_error_code check_pac_checksum(DATA_BLOB pac_data, /* ok */ break; default: - DEBUG(2,("check_pac_checksum: Checksum Type %d is not supported\n", - (int)sig->type)); + DEBUG(2,("check_pac_checksum: Checksum Type %"PRIu32" is not supported\n", + sig->type)); return EINVAL; }