mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-06 04:09:04 +00:00
Silence conversion warning from 64 to 32-bit.
llvm-svn: 90962
This commit is contained in:
parent
db0baa713d
commit
ff291e48aa
@ -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…
x
Reference in New Issue
Block a user