summaryrefslogtreecommitdiff
path: root/include/llvm
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-09-19 18:34:40 +0000
committerBill Wendling <isanbard@gmail.com>2008-09-19 18:34:40 +0000
commit135ccbd74f041caccfbc26a0c935006dfa828e84 (patch)
tree7c3045f0010fd8886512ef1ca5539202548420e0 /include/llvm
parent015b714f298ce3122302a4e996b81bd3e8c750cd (diff)
downloadllvm-135ccbd74f041caccfbc26a0c935006dfa828e84.tar.gz
llvm-135ccbd74f041caccfbc26a0c935006dfa828e84.tar.bz2
llvm-135ccbd74f041caccfbc26a0c935006dfa828e84.tar.xz
Prevent warning about conversion from 64-bit to 32-bit by (yuck) casting...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@56359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm')
-rw-r--r--include/llvm/Constants.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index efae25525d..926f131ef5 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -753,7 +753,7 @@ public:
/// operands replaced with the specified values. The specified operands must
/// match count and type with the existing ones.
Constant *getWithOperands(const std::vector<Constant*> &Ops) const {
- return getWithOperands(&Ops[0], Ops.size());
+ return getWithOperands(&Ops[0], (unsigned)Ops.size());
}
Constant *getWithOperands(Constant* const *Ops, unsigned NumOps) const;