From eee969efbafae4b166a4d799e7f15e9dca5060d5 Mon Sep 17 00:00:00 2001 From: MoneroOcean Date: Tue, 17 Sep 2019 21:08:26 -0700 Subject: [PATCH] Windows build fix --- src/crypto/defyx/yescrypt-platform.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/defyx/yescrypt-platform.c b/src/crypto/defyx/yescrypt-platform.c index 862a53b4..4e503ac3 100644 --- a/src/crypto/defyx/yescrypt-platform.c +++ b/src/crypto/defyx/yescrypt-platform.c @@ -141,7 +141,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;