diff --git a/lib/krb5/test_crypto_wrapping.c b/lib/krb5/test_crypto_wrapping.c index b0f9d2a66..7d85c86dd 100644 --- a/lib/krb5/test_crypto_wrapping.c +++ b/lib/krb5/test_crypto_wrapping.c @@ -73,8 +73,8 @@ test_wrapping(krb5_context context, ret = krb5_encrypt(context, crypto, 0, buf, size, &data); if (ret) - krb5_err(context, 1, ret, "encrypt size %d using %s", - size, etype_name); + krb5_err(context, 1, ret, "encrypt size %lu using %s", + (unsigned long)size, etype_name); wrapped_size = krb5_get_wrapped_length(context, crypto, size);