silence vc++ warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75394 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-07-11 22:32:37 +00:00
parent 5e5050d930
commit 39750254e1

View File

@ -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.