mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-22 19:49:36 +00:00
Fix for previous commit.
This commit is contained in:
parent
41abe17286
commit
81ef40fbb7
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ bool Mem::allocate(int algo, int threads, bool doubleHash, bool enabled)
|
|||
m_size = MONERO_MEMORY * (threads * ratio + 1);
|
||||
|
||||
if (!enabled) {
|
||||
m_memory = static_cast<uint8_t*>(_mm_malloc(size, 16));
|
||||
m_memory = static_cast<uint8_t*>(_mm_malloc(m_size, 16));
|
||||
return true;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue