diff options
Diffstat (limited to 'src/ir/table-utils.h')
-rw-r--r-- | src/ir/table-utils.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ir/table-utils.h b/src/ir/table-utils.h index 5299ba3e1..76cc9f479 100644 --- a/src/ir/table-utils.h +++ b/src/ir/table-utils.h @@ -40,7 +40,7 @@ struct FlatTable { valid = false; return; } - Index start = offset->cast<Const>()->value.geti32(); + Index start = offset->cast<Const>()->value.getInteger(); Index size = segment->data.size(); Index end; if (std::ckd_add(&end, start, size) || end > table.initial) { |