]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4:kdc: Use portable format specifiers
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 31 Jul 2023 22:20:11 +0000 (10:20 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 8 Aug 2023 04:39:37 +0000 (04:39 +0000)
Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source4/kdc/pac-glue.c

index b22a19f0d61ec5e1f82be1278f3bfc00f0890e04..288fe2c05005c5857ec9473b9838ed08ff7ac3ed 100644 (file)
@@ -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);