silence vc++ warning.

llvm-svn: 75394
This commit is contained in:
Chris Lattner 2009-07-11 22:32:37 +00:00
parent 2f67295aac
commit a797d376de
1 changed files with 1 additions and 1 deletions

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.