about summary refs log tree commit diff stats
path: root/063wait.cc
diff options
context:
space:
mode:
Diffstat (limited to '063wait.cc')
-rw-r--r--063wait.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/063wait.cc b/063wait.cc
index d25c5467..4595d7c1 100644
--- a/063wait.cc
+++ b/063wait.cc
@@ -156,7 +156,7 @@ case GET_LOCATION: {
   if (offset < 0 || offset >= SIZE(get(Type, base_type).elements)) break;  // copied from Check above
   int result = base_address;
   for (int i = 0; i < offset; ++i)
-    result += size_of(element_type(base, i));
+    result += size_of(element_type(base.type, i));
   trace(9998, "run") << "address to copy is " << result << end();
   products.resize(1);
   products.at(0).push_back(result);