diff options
-rw-r--r-- | subx/010---vm.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/010---vm.cc b/subx/010---vm.cc index b543216f..61bd4b09 100644 --- a/subx/010---vm.cc +++ b/subx/010---vm.cc @@ -223,7 +223,7 @@ inline const char* mem_addr_kernel_string(uint32_t addr) { } inline string mem_addr_string(uint32_t addr, uint32_t size) { ostringstream out; - for (int i = 0; i < size; ++i) + for (size_t i = 0; i < size; ++i) out << read_mem_u8(addr+i); return out.str(); } |