auth: Use portable format specifier
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Wed, 9 Aug 2023 23:29:52 +0000 (11:29 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 04:57:34 +0000 (04:57 +0000)
Also, correctly format the value as unsigned.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/kerberos/kerberos_pac.c

index b914075d85c9bda5da18eb0bb39297fa90a3063a..8d3b467622db2a56859cef3d52c48532569967a0 100644 (file)
@@ -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;
        }