summaryrefslogtreecommitdiffstats
path: root/lldb/source/Expression/IRInterpreter.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2014-04-02 03:51:35 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2014-04-02 03:51:35 +0000
commit3985c8c64680d89a3ab328347e795af0c69c48ea (patch)
tree79b033e897a72dfd79894bf9fea2481042976232 /lldb/source/Expression/IRInterpreter.cpp
parentf7da6c1fcf5d0968b473226df0ec7493d61f2711 (diff)
downloadbcm5719-llvm-3985c8c64680d89a3ab328347e795af0c69c48ea.tar.gz
bcm5719-llvm-3985c8c64680d89a3ab328347e795af0c69c48ea.zip
sanitise sign comparisons
This is a mechanical change addressing the various sign comparison warnings that are identified by both clang and gcc. This helps cleanup some of the warning spew that occurs during builds. llvm-svn: 205390
Diffstat (limited to 'lldb/source/Expression/IRInterpreter.cpp')
-rw-r--r--lldb/source/Expression/IRInterpreter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Expression/IRInterpreter.cpp b/lldb/source/Expression/IRInterpreter.cpp
index 5552cb3d5d7..6b5748b52ce 100644
--- a/lldb/source/Expression/IRInterpreter.cpp
+++ b/lldb/source/Expression/IRInterpreter.cpp
@@ -642,7 +642,7 @@ IRInterpreter::Interpret (llvm::Module &module,
ai != ae;
++ai, ++arg_index)
{
- if (args.size() < arg_index)
+ if (args.size() < static_cast<size_t>(arg_index))
{
error.SetErrorString ("Not enough arguments passed in to function");
return false;
OpenPOWER on IntegriCloud