summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/passes/Directize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/passes/Directize.cpp b/src/passes/Directize.cpp
index 7faf2e23a..93b3d04e7 100644
--- a/src/passes/Directize.cpp
+++ b/src/passes/Directize.cpp
@@ -130,7 +130,7 @@ private:
return CallUtils::Unknown{};
}
- Index index = c->value.getInteger();
+ Address index = c->value.getUnsigned();
// Check if index is invalid, or the type is wrong.
auto& flatTable = *table.flatTable;