diff options
author | Aaron Ballman <aaron@aaronballman.com> | 2021-10-05 07:13:00 -0400 |
---|---|---|
committer | Aaron Ballman <aaron@aaronballman.com> | 2021-10-05 07:13:47 -0400 |
commit | 1549be3e820f38f02484c5d990e12749d8121ba3 (patch) | |
tree | 118785886c42fa63cc27684009221e8d464b6fac /llvm/lib/Object/XCOFFObjectFile.cpp | |
parent | 02895eede1a9a650e84d72afea2cd6ecf35ac1e7 (diff) | |
download | llvm-1549be3e820f38f02484c5d990e12749d8121ba3.zip llvm-1549be3e820f38f02484c5d990e12749d8121ba3.tar.gz llvm-1549be3e820f38f02484c5d990e12749d8121ba3.tar.bz2 |
Silence an implicit conversion warning on the bit shift result in MSVC; NFC
Diffstat (limited to 'llvm/lib/Object/XCOFFObjectFile.cpp')
-rw-r--r-- | llvm/lib/Object/XCOFFObjectFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Object/XCOFFObjectFile.cpp b/llvm/lib/Object/XCOFFObjectFile.cpp index c915bf7..e4daa8c 100644 --- a/llvm/lib/Object/XCOFFObjectFile.cpp +++ b/llvm/lib/Object/XCOFFObjectFile.cpp @@ -230,7 +230,7 @@ uint32_t XCOFFObjectFile::getSymbolAlignment(DataRefImpl Symb) const { // TODO: report the error up the stack. consumeError(CsectAuxRefOrError.takeError()); else - Result = 1 << CsectAuxRefOrError.get().getAlignmentLog2(); + Result = 1ULL << CsectAuxRefOrError.get().getAlignmentLog2(); } return Result; } |