aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Christopher <echristo@apple.com>2009-12-09 08:29:32 +0000
committerEric Christopher <echristo@apple.com>2009-12-09 08:29:32 +0000
commit1e8c6934f2d71c06816063b41f398a402e4b826e (patch)
treed5b5b63d4d3b4c4c41619e36a8f49dc7dbc17b6e
parent4ca70fe15f7bafc761a90483a61aad72c3f157b7 (diff)
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
-rw-r--r--include/llvm/Target/TargetData.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Target/TargetData.h b/include/llvm/Target/TargetData.h
index 2203855095..2e63188989 100644
--- a/include/llvm/Target/TargetData.h
+++ b/include/llvm/Target/TargetData.h
@@ -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;