summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2004-06-05 00:17:13 +0000
committerChris Lattner <sabre@nondot.org>2004-06-05 00:17:13 +0000
commit2e7ceee89f5864a3b4d94c77d1d88b9275415bc8 (patch)
treedb83e510d03386047c6426e76f142bf2e6bef280 /llvm/include
parent708ee9d965386cfbdd46d2b84824065f81ee0d3a (diff)
downloadbcm5719-llvm-2e7ceee89f5864a3b4d94c77d1d88b9275415bc8.tar.gz
bcm5719-llvm-2e7ceee89f5864a3b4d94c77d1d88b9275415bc8.zip
Warning foo
llvm-svn: 14035
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Support/CallSite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Support/CallSite.h b/llvm/include/llvm/Support/CallSite.h
index 009bd6ae1ad..45d28327f98 100644
--- a/llvm/include/llvm/Support/CallSite.h
+++ b/llvm/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();
OpenPOWER on IntegriCloud