Fixed ARM build.

This commit is contained in:
XMRig 2018-04-15 12:58:17 +07:00
parent 8716f362f8
commit 6b4f2d0a91
5 changed files with 23 additions and 23 deletions

View file

@ -39,7 +39,7 @@
uint64_t tweak1_2_##part = 0; \
if (VARIANT > 0) { \
volatile const uint64_t a = *reinterpret_cast<const uint64_t*>(input + 35 + part * size); \
volatile const uint64_t b = *(reinterpret_cast<const uint64_t*>(ctx->state##part) + 24); \
volatile const uint64_t b = *(reinterpret_cast<const uint64_t*>(ctx[part]->state) + 24); \
tweak1_2_##part = a ^ b; \
}
#endif