From 135ccbd74f041caccfbc26a0c935006dfa828e84 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 19 Sep 2008 18:34:40 +0000 Subject: [PATCH] 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 --- include/llvm/Constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h index efae25525d2..926f131ef5e 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 &Ops) const { - return getWithOperands(&Ops[0], Ops.size()); + return getWithOperands(&Ops[0], (unsigned)Ops.size()); } Constant *getWithOperands(Constant* const *Ops, unsigned NumOps) const;