summaryrefslogtreecommitdiffstats
path: root/lldb/source
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2019-12-10 11:17:40 -0800
committerEric Christopher <echristo@gmail.com>2019-12-10 11:18:57 -0800
commit53acf0663f80e1be99bae28769c6b658fff0e097 (patch)
treee9cc8343ac5a938a1106820f987bafe23302b738 /lldb/source
parent59998b7b7f12c867062a4b61579511ad6c0ca144 (diff)
downloadbcm5719-llvm-53acf0663f80e1be99bae28769c6b658fff0e097.tar.gz
bcm5719-llvm-53acf0663f80e1be99bae28769c6b658fff0e097.zip
Fix a -Wsign-compare error around wchar_t vs unsigned int.
Diffstat (limited to 'lldb/source')
-rw-r--r--lldb/source/Host/common/Editline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp
index b29c218f036..5fd5a0cfc7f 100644
--- a/lldb/source/Host/common/Editline.cpp
+++ b/lldb/source/Host/common/Editline.cpp
@@ -1484,7 +1484,7 @@ bool Editline::CompleteCharacter(char ch, EditLineGetCharType &out) {
switch (cvt.in(state, input.begin(), input.end(), from_next, &out, &out + 1,
to_next)) {
case std::codecvt_base::ok:
- return out != WEOF;
+ return out != (int)WEOF;
case std::codecvt_base::error:
case std::codecvt_base::noconv:
OpenPOWER on IntegriCloud