mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-13 08:25:27 +00:00
Explicitly cast narrowing conversions inside {}s that will become errors in
C++0x. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136211 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -374,7 +374,8 @@ DecomposeGEPExpression(const Value *V, int64_t &BaseOffs,
|
||||
}
|
||||
|
||||
if (Scale) {
|
||||
VariableGEPIndex Entry = {Index, Extension, Scale};
|
||||
VariableGEPIndex Entry = {Index, Extension,
|
||||
static_cast<int64_t>(Scale)};
|
||||
VarIndices.push_back(Entry);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user