aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/XCOFFObjectFile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
-rw-r--r--llvm/lib/Object/XCOFFObjectFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp
index 23055b3..8ed61a1 100644
--- a/llvm/lib/Object/XCOFFObjectFile.cpp
+++ b/llvm/lib/Object/XCOFFObjectFile.cpp
@@ -802,7 +802,7 @@ XCOFFObjectFile::getSectionByType(XCOFF::SectionTypeFlags SectType) const {
for (const auto &Sec : Sections)
if (Sec.getSectionType() == SectType)
return reinterpret_cast<uintptr_t>(&Sec);
- return reinterpret_cast<uintptr_t>(0ul);
+ return uintptr_t(0);
};
if (is64Bit())
DRI.p = GetSectionAddr(sections64());