From 9b72c445a74e94bbfe8fc8043fd6d54b8aa854b4 Mon Sep 17 00:00:00 2001 From: Thomas Harte Date: Fri, 21 Jul 2017 21:19:46 -0400 Subject: [PATCH] Fixed indexing type. --- Processors/Z80/Z80.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Processors/Z80/Z80.hpp b/Processors/Z80/Z80.hpp index 1bd3c7577..7d260855a 100644 --- a/Processors/Z80/Z80.hpp +++ b/Processors/Z80/Z80.hpp @@ -426,7 +426,7 @@ template class Processor { size_t destination = 0; for(size_t c = 0; c < 256; c++) { target.instructions[c] = &target.all_operations[destination]; - for(int t = 0; t < lengths[c];) { + for(size_t t = 0; t < lengths[c];) { // Skip zero-length bus cycles. if(table[c][t].type == MicroOp::BusOperation && table[c][t].machine_cycle.length == 0) { t++;