Removed unnecessary pointers cast.

This commit is contained in:
XMRig
2018-03-18 05:48:19 +07:00
parent 276d796ee2
commit a7063f4393
4 changed files with 47 additions and 47 deletions

View File

@@ -30,7 +30,7 @@
#define VARIANT1_INIT(part) \
uint64_t tweak1_2_##part = 0; \
if (VARIANT > 0) { \
tweak1_2_##part = (*reinterpret_cast<const uint64_t*>(reinterpret_cast<const uint8_t*>(input) + 35 + part * size) ^ \
tweak1_2_##part = (*reinterpret_cast<const uint64_t*>(input + 35 + part * size) ^ \
*(reinterpret_cast<const uint64_t*>(ctx->state##part) + 24)); \
}