1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 11:02:59 +02:00

silence vc++ warning.

llvm-svn: 75394
This commit is contained in:
Chris Lattner 2009-07-11 22:32:37 +00:00
parent edf6f031d8
commit 1e7e5e5de0

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.