about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-05-12 00:15:51 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-05-12 00:15:51 -0700
commit9131db6eda3d4034eae39a230b4044a2283f3310 (patch)
tree4e6b5d646b81b4c01e7cd610d2ec5d7f11abd59b
parent3ec31029ae4a79d74456a0e7fc74a1859d1c6458 (diff)
downloadmu-9131db6eda3d4034eae39a230b4044a2283f3310.tar.gz
1352
-rw-r--r--020run.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc
index 1c5c3f30..3f3237e8 100644
--- a/020run.cc
+++ b/020run.cc
@@ -185,7 +185,7 @@ vector<long long int> read_memory(reagent x) {
   index_t base = x.value;
   size_t size = size_of(x);
   for (index_t offset = 0; offset < size; ++offset) {
-    int val = Memory[base+offset];
+    long long int val = Memory[base+offset];
     trace("mem") << "location " << base+offset << " is " << val;
     result.push_back(val);
   }