From a3297b9ea4154599dc6a95bb40d73008a972c95b Mon Sep 17 00:00:00 2001 From: XMRig Date: Sat, 7 Oct 2017 20:36:02 +0300 Subject: [PATCH] Fixed 32 bit version crash. --- src/net/Job.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/net/Job.h b/src/net/Job.h index 1ba2d25d2..bf8f88356 100644 --- a/src/net/Job.h +++ b/src/net/Job.h @@ -70,6 +70,8 @@ public: bool operator==(const Job &other) const; private: + VAR_ALIGN(16, uint8_t m_blob[84]); // Max blob size is 84 (75 fixed + 9 variable), aligned to 96. https://github.com/xmrig/xmrig/issues/1 Thanks fireice-uk. + bool m_nicehash; int m_poolId; int m_threadId; @@ -77,7 +79,6 @@ private: size_t m_size; uint64_t m_diff; uint64_t m_target; - VAR_ALIGN(16, uint8_t m_blob[84]); // Max blob size is 84 (75 fixed + 9 variable), aligned to 96. https://github.com/xmrig/xmrig/issues/1 Thanks fireice-uk. # ifdef XMRIG_PROXY_PROJECT VAR_ALIGN(16, char m_rawBlob[169]);