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 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;
}