Fixed ARM build.

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

View File

@@ -157,7 +157,7 @@ void Mem::allocate(MemInfo &info, bool enabled)
info.hugePages = 0;
if (!enabled) {
info.memory = static_cast<uint8_t*>(_mm_malloc(info.size, 16));
info.memory = static_cast<uint8_t*>(_mm_malloc(info.size, 4096));
return;
}