mirror of
https://github.com/xmrig/xmrig.git
synced 2025-01-11 05:14:40 +00:00
Merge pull request #1926 from SChernykh/dev
Fix compilation on ARMv8 with GCC 9.3.0
This commit is contained in:
commit
5ac908c027
1 changed files with 2 additions and 1 deletions
|
@ -174,7 +174,8 @@ void xmrig::RxDataset::setRaw(const void *raw)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
memcpy(randomx_get_dataset_memory(m_dataset), raw, maxSize());
|
volatile size_t N = maxSize();
|
||||||
|
memcpy(randomx_get_dataset_memory(m_dataset), raw, N);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue