1
0
mirror of https://github.com/xmrig/xmrig.git synced 2025-12-08 08:23:34 -05:00

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

@@ -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;
}