mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Fix an integer truncation noticed by MSVC.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@81109 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5b7c3567a1
commit
12fd767ed8
@ -1111,7 +1111,7 @@ bool AsmParser::ParseDirectiveAlign(bool IsPow2, unsigned ValueSize) {
|
||||
Alignment = 31;
|
||||
}
|
||||
|
||||
Alignment = 1 << Alignment;
|
||||
Alignment = 1ULL << Alignment;
|
||||
}
|
||||
|
||||
// Diagnose non-sensical max bytes to align.
|
||||
|
Loading…
Reference in New Issue
Block a user