about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-10-05 19:47:55 -0700
committerKartik Agaram <vc@akkartik.com>2018-10-05 19:47:55 -0700
commit7163541bf2ced701d00b16b1cf1eac6a7d019a15 (patch)
tree7c21b1624eabf5978a7ee90fe7bdb5910b3be4b8
parent54ed56f2b43c1274ec569aecb9aa97fb4c293546 (diff)
downloadmu-7163541bf2ced701d00b16b1cf1eac6a7d019a15.tar.gz
4666
-rw-r--r--subx/010---vm.cc2
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();
 }