aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectQuit.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/Commands/CommandObjectQuit.cpp
parentf7da6c1fcf5d0968b473226df0ec7493d61f2711 (diff)
downloadllvm-3985c8c64680d89a3ab328347e795af0c69c48ea.zip
llvm-3985c8c64680d89a3ab328347e795af0c69c48ea.tar.gz
llvm-3985c8c64680d89a3ab328347e795af0c69c48ea.tar.bz2
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/Commands/CommandObjectQuit.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectQuit.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Commands/CommandObjectQuit.cpp b/lldb/source/Commands/CommandObjectQuit.cpp
index ffe2a92..dd0efc6 100644
--- a/lldb/source/Commands/CommandObjectQuit.cpp
+++ b/lldb/source/Commands/CommandObjectQuit.cpp
@@ -53,7 +53,7 @@ CommandObjectQuit::ShouldAskForConfirmation (bool& is_a_detach)
continue;
const TargetList& target_list(debugger_sp->GetTargetList());
for (uint32_t target_idx = 0;
- target_idx < target_list.GetNumTargets();
+ target_idx < static_cast<uint32_t>(target_list.GetNumTargets());
target_idx++)
{
TargetSP target_sp(target_list.GetTargetAtIndex(target_idx));