(krb5_random_to_key): cast size_t to int to make %d work

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@14571 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2005-02-09 09:55:44 +00:00
parent c7d0a66e29
commit 4651d05136

View File

@@ -4306,7 +4306,7 @@ krb5_random_to_key(krb5_context context,
if ((et->keytype->bits + 7) / 8 > size) {
krb5_set_error_string(context, "encryption key %s needs %d bytes "
"of random to make an encryption key out of it",
et->name, et->keytype->size);
et->name, (int)et->keytype->size);
return KRB5_PROG_ETYPE_NOSUPP;
}
ret = krb5_data_alloc(&key->keyvalue, et->keytype->size);