forked from OSchip/llvm-project
Silence conversion warning from 64 to 32-bit.
llvm-svn: 90962
This commit is contained in:
parent
c50b340108
commit
f92d732c99
|
@ -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