mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
Silencing an MSVC C4334 warning ('<<' : result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?)). No functional changes intended.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@215100 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
6cc2e1a132
commit
6a85b88e65
@ -1186,7 +1186,7 @@ Init *TGParser::ParseSimpleValue(Record *CurRec, RecTy *ItemType,
|
||||
auto BinaryVal = Lex.getCurBinaryIntVal();
|
||||
SmallVector<Init*, 16> Bits(BinaryVal.second);
|
||||
for (unsigned i = 0, e = BinaryVal.second; i != e; ++i)
|
||||
Bits[i] = BitInit::get(BinaryVal.first & (1 << i));
|
||||
Bits[i] = BitInit::get(BinaryVal.first & (1LL << i));
|
||||
R = BitsInit::get(Bits);
|
||||
Lex.Lex();
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user