From 53acf0663f80e1be99bae28769c6b658fff0e097 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Tue, 10 Dec 2019 11:17:40 -0800 Subject: [PATCH] Fix a -Wsign-compare error around wchar_t vs unsigned int. --- lldb/source/Host/common/Editline.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/common/Editline.cpp b/lldb/source/Host/common/Editline.cpp index b29c218..5fd5a0c 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: -- 2.7.4