From 5e0dec0d6db0746907c9361e72d8fae258032baf Mon Sep 17 00:00:00 2001 From: jsteube Date: Wed, 9 Jan 2019 10:03:41 +0100 Subject: [PATCH] Bring back needed variables --- src/shared.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/shared.c b/src/shared.c index 1a531fdba..c9fd6776b 100644 --- a/src/shared.c +++ b/src/shared.c @@ -1024,7 +1024,8 @@ void decoder_apply_optimizer (const hashconfig_t *hashconfig, void *data) const u32 hash_type = hashconfig->hash_type; const u32 opti_type = hashconfig->opti_type; - u32 *digest_buf = (u32 *) data; + u32 *digest_buf = (u32 *) data; + u64 *digest_buf64 = (u64 *) data; if (opti_type & OPTI_TYPE_PRECOMPUTE_PERMUT) { @@ -1147,7 +1148,8 @@ void encoder_apply_optimizer (const hashconfig_t *hashconfig, void *data) const u32 hash_type = hashconfig->hash_type; const u32 opti_type = hashconfig->opti_type; - u32 *digest_buf = (u32 *) data; + u32 *digest_buf = (u32 *) data; + u64 *digest_buf64 = (u64 *) data; if (opti_type & OPTI_TYPE_PRECOMPUTE_PERMUT) {