From 96698a5ec78619ac79443039f9dbc1db141a7e82 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Sat, 5 Jun 2004 00:17:13 +0000 Subject: [PATCH] Warning foo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14035 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/CallSite.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h index 009bd6ae1ad..45d28327f98 100644 --- a/include/llvm/Support/CallSite.h +++ b/include/llvm/Support/CallSite.h @@ -100,7 +100,7 @@ public: return I->op_begin()+3; // Skip Function, BB, BB } arg_iterator arg_end() const { return I->op_end(); } - unsigned arg_size() const { return arg_end() - arg_begin(); } + unsigned arg_size() const { return unsigned(arg_end() - arg_begin()); } bool operator<(const CallSite &CS) const { return getInstruction() < CS.getInstruction();