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:
Eric Christopher 2009-12-09 08:29:32 +00:00
parent 4ca70fe15f
commit 1e8c6934f2

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;