projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ca70fe
)
Silence conversion warning from 64 to 32-bit.
author
Eric Christopher
<echristo@apple.com>
Wed, 9 Dec 2009 08:29:32 +0000
(08:29 +0000)
committer
Eric Christopher
<echristo@apple.com>
Wed, 9 Dec 2009 08:29:32 +0000
(08:29 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@90962
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Target/TargetData.h
patch
|
blob
|
history
diff --git
a/include/llvm/Target/TargetData.h
b/include/llvm/Target/TargetData.h
index 22038550952c633f4bee3967047705fde0e3c0d8..2e63188989abc53a35f3964351d12593454915f4 100644
(file)
--- 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;