aboutsummaryrefslogtreecommitdiff
path: root/lld/MachO/UnwindInfoSection.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/MachO/UnwindInfoSection.cpp')
-rw-r--r--lld/MachO/UnwindInfoSection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/MachO/UnwindInfoSection.cpp b/lld/MachO/UnwindInfoSection.cpp
index 2c4a469578de..8c3425a17459 100644
--- a/lld/MachO/UnwindInfoSection.cpp
+++ b/lld/MachO/UnwindInfoSection.cpp
@@ -506,7 +506,7 @@ void UnwindInfoSectionImpl::finalize() {
secondLevelPages.emplace_back();
SecondLevelPage &page = secondLevelPages.back();
page.entryIndex = i;
- uintptr_t functionAddressMax =
+ uint64_t functionAddressMax =
cuEntries[idx].functionAddress + COMPRESSED_ENTRY_FUNC_OFFSET_MASK;
size_t n = commonEncodings.size();
size_t wordsRemaining =