mirror of
https://github.com/xmrig/xmrig.git
synced 2024-12-23 12:09:22 +00:00
#1572 Fix compile warning.
This commit is contained in:
parent
5bad45925a
commit
616c52f266
1 changed files with 2 additions and 2 deletions
|
@ -326,9 +326,9 @@ namespace randomx {
|
|||
}
|
||||
|
||||
void JitCompilerX86::prepare() {
|
||||
for (int i = 0; i < sizeof(engine); i += 64)
|
||||
for (size_t i = 0; i < sizeof(engine); i += 64)
|
||||
rx_prefetch_nta((const char*)(&engine) + i);
|
||||
for (int i = 0; i < sizeof(RandomX_CurrentConfig); i += 64)
|
||||
for (size_t i = 0; i < sizeof(RandomX_CurrentConfig); i += 64)
|
||||
rx_prefetch_nta((const char*)(&RandomX_CurrentConfig) + i);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue