From: Landon Fuller Date: Sat, 7 Jan 2006 18:30:44 +0000 (+0000) Subject: Add missing cast X-Git-Tag: Release-1.38.4~23 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1924517404ee1427b6c2c82e1d09f3efafd608d0;p=bacula%2Fbacula Add missing cast git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@2726 91ce42f0-d328-0410-95d8-f526ca767f89 --- 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;