summaryrefslogtreecommitdiffstats
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
commit96698a5ec78619ac79443039f9dbc1db141a7e82 (patch)
treed9a821d79eb9114139df26da5147cbfec41e031e
parentf878218c972dc570eb50e739c2ee2b9dd75ee5dd (diff)
downloadexternal_llvm-96698a5ec78619ac79443039f9dbc1db141a7e82.zip
external_llvm-96698a5ec78619ac79443039f9dbc1db141a7e82.tar.gz
external_llvm-96698a5ec78619ac79443039f9dbc1db141a7e82.tar.bz2
Warning foo
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14035 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--include/llvm/Support/CallSite.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Support/CallSite.h b/include/llvm/Support/CallSite.h
index 009bd6a..45d2832 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();