aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;