Limpiando warnings
This commit is contained in:
@@ -219,7 +219,7 @@ std::vector<Instruction> Interpreter::disassembly() const
|
||||
{
|
||||
std::vector<Instruction> instructions(std::size(machine_state->memory) / 2);
|
||||
|
||||
for (auto address = 0; address < std::size(machine_state->memory); address += 2)
|
||||
for (std::size_t address = 0; address < std::size(machine_state->memory); address += 2)
|
||||
{
|
||||
const auto word = this->get_word(address);
|
||||
instructions[address / 2] = (this->decode(word, address));
|
||||
|
||||
Reference in New Issue
Block a user