From: Chris Lattner Date: Sat, 5 Jun 2004 00:17:13 +0000 (+0000) Subject: Warning foo X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=96698a5ec78619ac79443039f9dbc1db141a7e82;p=oota-llvm.git Warning foo git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14035 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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();