about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2015-09-14 21:40:25 -0700
committerKartik K. Agaram <vc@akkartik.com>2015-09-14 21:40:25 -0700
commitd8c36313b353ba4622638653113bc717d5e0b5a4 (patch)
tree5b5164c6af27cb8e497a2c8ff65ff0c2cd5801df
parent90e0ae0c36c6abf9926419de7a9e674ff1832002 (diff)
downloadmu-d8c36313b353ba4622638653113bc717d5e0b5a4.tar.gz
2195
-rw-r--r--050scenario.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/050scenario.cc b/050scenario.cc
index 6a323935..6e38a80a 100644
--- a/050scenario.cc
+++ b/050scenario.cc
@@ -263,11 +263,11 @@ void check_memory(const string& s) {
       check_type(lhs, in);
       continue;
     }
-    int address = to_integer(lhs);
+    long long int address = to_integer(lhs);
     skip_whitespace_and_comments(in);
     string _assign;  in >> _assign;  assert(_assign == "<-");
     skip_whitespace_and_comments(in);
-    int value = 0;  in >> value;
+    double value = 0;  in >> value;
     if (locations_checked.find(address) != locations_checked.end())
       raise << "duplicate expectation for location " << address << '\n' << end();
     trace(Primitive_recipe_depth, "run") << "checking location " << address << end();