mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Silence conversion warning from 64 to 32-bit.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90962 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
4ca70fe15f
commit
1e8c6934f2
@ -150,7 +150,7 @@ public:
|
||||
/// The width is specified in bits.
|
||||
///
|
||||
bool isLegalInteger(unsigned Width) const {
|
||||
for (unsigned i = 0, e = LegalIntWidths.size(); i != e; ++i)
|
||||
for (unsigned i = 0, e = (unsigned)LegalIntWidths.size(); i != e; ++i)
|
||||
if (LegalIntWidths[i] == Width)
|
||||
return true;
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user