aboutsummaryrefslogtreecommitdiff
path: root/tools/llvm-mc/AsmParser.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-11 22:32:37 +0000
committerChris Lattner <sabre@nondot.org>2009-07-11 22:32:37 +0000
commit39750254e18c91ed68b11eb162c3f2445c36c833 (patch)
tree259970746d42f975aec39dcfd5421493f0af5884 /tools/llvm-mc/AsmParser.cpp
parent5e5050d930f4a99c40dbf0cee3d7f101fd887ce2 (diff)
silence vc++ warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75394 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc/AsmParser.cpp')
-rw-r--r--tools/llvm-mc/AsmParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-mc/AsmParser.cpp b/tools/llvm-mc/AsmParser.cpp
index 1d9e1b6cac..a2cdea4c4d 100644
--- a/tools/llvm-mc/AsmParser.cpp
+++ b/tools/llvm-mc/AsmParser.cpp
@@ -850,7 +850,7 @@ bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
// Compute alignment in bytes.
if (IsPow2) {
// FIXME: Diagnose overflow.
- Alignment = 1 << Alignment;
+ Alignment = 1LL << Alignment;
}
// Diagnose non-sensical max bytes to fill.