mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-09 16:52:40 -05:00
Fixed warnings.
This commit is contained in:
@@ -90,7 +90,7 @@ namespace randomx {
|
||||
}
|
||||
|
||||
static void executeBytecode(InstructionByteCode* bytecode, uint8_t* scratchpad, ProgramConfiguration& config) {
|
||||
for (int pc = 0; pc < RandomX_CurrentConfig.ProgramSize; ++pc) {
|
||||
for (int pc = 0; pc < static_cast<int>(RandomX_CurrentConfig.ProgramSize); ++pc) {
|
||||
auto& ibc = bytecode[pc];
|
||||
executeInstruction(ibc, pc, scratchpad, config);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user