diff options
-rw-r--r-- | include/llvm/Constants.h | 2 |
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; |