summaryrefslogtreecommitdiffstats
path: root/lldb/tools/lldb-mi/MICmdFactory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/tools/lldb-mi/MICmdFactory.cpp')
-rw-r--r--lldb/tools/lldb-mi/MICmdFactory.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/tools/lldb-mi/MICmdFactory.cpp b/lldb/tools/lldb-mi/MICmdFactory.cpp
index ba511412f86..3fe4062b772 100644
--- a/lldb/tools/lldb-mi/MICmdFactory.cpp
+++ b/lldb/tools/lldb-mi/MICmdFactory.cpp
@@ -159,8 +159,8 @@ CMICmdFactory::IsValid(const CMIUtilString &vMiCmd) const
return false;
}
- const MIint nPos = vMiCmd.find(" ");
- if (nPos != (MIint)std::string::npos)
+ const size_t nPos = vMiCmd.find(" ");
+ if (nPos != std::string::npos)
bValid = false;
return bValid;
OpenPOWER on IntegriCloud