diff options
-rw-r--r-- | 020run.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/020run.cc b/020run.cc index b154b37d..a6b6e4e0 100644 --- a/020run.cc +++ b/020run.cc @@ -339,7 +339,7 @@ int size_of(const type_tree* type) { raise << "invalid type " << to_string(type) << '\n' << end(); return 0; } - if (type->left->name == "address") return 1; + if (type->left->value == get(Type_ordinal, "address")) return 1; // End size_of(type) Non-atom Special-cases } // End size_of(type) Special-cases |