[llvm-commits] CVS: llvm/include/llvm/Support/CallSite.h

Chris Lattner lattner at cs.uiuc.edu
Fri Jun 4 19:22:01 PDT 2004


Changes in directory llvm/include/llvm/Support:

CallSite.h updated: 1.14 -> 1.15

---
Log message:

Warning foo


---
Diffs of the changes:  (+1 -1)

Index: llvm/include/llvm/Support/CallSite.h
diff -u llvm/include/llvm/Support/CallSite.h:1.14 llvm/include/llvm/Support/CallSite.h:1.15
--- llvm/include/llvm/Support/CallSite.h:1.14	Sun May 23 03:02:45 2004
+++ llvm/include/llvm/Support/CallSite.h	Fri Jun  4 19:17:13 2004
@@ -100,7 +100,7 @@
       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();





More information about the llvm-commits mailing list