From: Joseph Sutton Date: Mon, 31 Jul 2023 22:20:11 +0000 (+1200) Subject: s4:kdc: Use portable format specifiers X-Git-Tag: tevent-0.16.0~1214 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=54c38cf9d9e58858356b36a45bb950fbc35b63b9;p=thirdparty%2Fsamba.git s4:kdc: Use portable format specifiers Signed-off-by: Joseph Sutton Reviewed-by: Andrew Bartlett --- diff --git a/source4/kdc/pac-glue.c b/source4/kdc/pac-glue.c index b22a19f0d61..288fe2c0500 100644 --- a/source4/kdc/pac-glue.c +++ b/source4/kdc/pac-glue.c @@ -453,8 +453,8 @@ krb5_error_code samba_kdc_encrypt_pac_credentials(krb5_context context, return KRB5KDC_ERR_SVC_UNAVAILABLE; } - DEBUG(10, ("Encrypted credential BLOB (len %zu) with alg %d\n", - cred_info_blob->length, (int)pac_cred_info.encryption_type)); + DEBUG(10, ("Encrypted credential BLOB (len %zu) with alg %"PRId32"\n", + cred_info_blob->length, pac_cred_info.encryption_type)); dump_data_pw("PAC_CREDENTIAL_INFO", cred_info_blob->data, cred_info_blob->length); @@ -551,8 +551,8 @@ krb5_error_code samba_kdc_encrypt_pac_credentials(krb5_context context, return KRB5KDC_ERR_SVC_UNAVAILABLE; } - DEBUG(10, ("Encrypted credential BLOB (len %zu) with alg %d\n", - cred_info_blob->length, (int)pac_cred_info.encryption_type)); + DEBUG(10, ("Encrypted credential BLOB (len %zu) with alg %"PRId32"\n", + cred_info_blob->length, pac_cred_info.encryption_type)); dump_data_pw("PAC_CREDENTIAL_INFO", cred_info_blob->data, cred_info_blob->length);