Silence conversion warning from 64 to 32-bit.

llvm-svn: 90962
This commit is contained in:
Eric Christopher 2009-12-09 08:29:32 +00:00
parent db0baa713d
commit ff291e48aa

View File

@ -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;