From 9a37cd403235bfc3450f9f9babb7b869e35a1ad0 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Thu, 15 Aug 2019 23:42:12 -0700 Subject: [PATCH] Fixed Windows compile --- src/crypto/defyx/yescrypt-ref.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/defyx/yescrypt-ref.c b/src/crypto/defyx/yescrypt-ref.c index 03664633..da5fa962 100644 --- a/src/crypto/defyx/yescrypt-ref.c +++ b/src/crypto/defyx/yescrypt-ref.c @@ -820,7 +820,7 @@ yescrypt_init_shared(yescrypt_shared_t * shared, half1 = half2 = *shared; half1.aligned_size /= 2; - half2.aligned += half1.aligned_size; + (uint8_t*)half2.aligned += half1.aligned_size; half2.aligned_size = half1.aligned_size; N /= 2;