Fixed warnings.
This commit is contained in:
parent
bcae974ea1
commit
4f49533e98
7 changed files with 21 additions and 23 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue