From cdf6e470cdcfe74ff1522c43e15ffe1891521ad7 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Thu, 17 Jun 2010 20:49:44 +0200 Subject: Fixed warnings. --- cryptodev_main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cryptodev_main.c') diff --git a/cryptodev_main.c b/cryptodev_main.c index 0797986..5abd4c7 100644 --- a/cryptodev_main.c +++ b/cryptodev_main.c @@ -202,7 +202,7 @@ crypto_create_session(struct fcrypt *fcr, struct session_op *sop) if (unlikely(sop->keylen > CRYPTO_CIPHER_MAX_KEY_LEN)) { dprintk(1,KERN_DEBUG,"Setting key failed for %s-%zu.\n", - alg_name, sop->keylen*8); + alg_name, (size_t)sop->keylen*8); ret = -EINVAL; goto error; } @@ -222,7 +222,7 @@ crypto_create_session(struct fcrypt *fcr, struct session_op *sop) if (unlikely(sop->mackeylen > CRYPTO_HMAC_MAX_KEY_LEN)) { dprintk(1,KERN_DEBUG,"Setting key failed for %s-%zu.\n", - alg_name, sop->mackeylen*8); + alg_name, (size_t)sop->mackeylen*8); ret = -EINVAL; goto error; } -- cgit