From 1924517404ee1427b6c2c82e1d09f3efafd608d0 Mon Sep 17 00:00:00 2001 From: Landon Fuller Date: Sat, 7 Jan 2006 18:30:44 +0000 Subject: [PATCH] Add missing cast git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2726 91ce42f0-d328-0410-95d8-f526ca767f89 --- bacula/src/lib/crypto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bacula/src/lib/crypto.c b/bacula/src/lib/crypto.c index f3bcbb8fb0..598dcf72aa 100644 --- a/bacula/src/lib/crypto.c +++ b/bacula/src/lib/crypto.c @@ -587,7 +587,7 @@ bool crypto_digest_update (DIGEST *digest, const void *data, size_t length) { * false on failure */ bool crypto_digest_finalize (DIGEST *digest, void *dest, size_t *length) { - if (!EVP_DigestFinal(&digest->ctx, (unsigned char *) dest, length)) { + if (!EVP_DigestFinal(&digest->ctx, (unsigned char *) dest, (unsigned int *) length)) { return false; } else { return true; -- 2.39.5