mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix 32 bit build in c++11 mode.
The error was: error: non-constant-expression cannot be narrowed from type 'long long' to 'long' in initializer list [-Wc++11-narrowing] MI.getOperand(6).getImm() & 0x1F, git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@182584 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
fa03ff99b2
commit
7eac032203
@ -113,7 +113,7 @@ void R600MCCodeEmitter::EncodeInstruction(const MCInst &MI, raw_ostream &OS,
|
||||
MI.getOperand(4).getImm(),
|
||||
MI.getOperand(5).getImm()
|
||||
};
|
||||
long Offsets[3] = {
|
||||
int64_t Offsets[3] = {
|
||||
MI.getOperand(6).getImm() & 0x1F,
|
||||
MI.getOperand(7).getImm() & 0x1F,
|
||||
MI.getOperand(8).getImm() & 0x1F
|
||||
|
Loading…
Reference in New Issue
Block a user