diff options
| author | Eric Christopher <echristo@gmail.com> | 2019-12-10 11:17:40 -0800 |
|---|---|---|
| committer | Eric Christopher <echristo@gmail.com> | 2019-12-10 11:18:57 -0800 |
| commit | 53acf0663f80e1be99bae28769c6b658fff0e097 (patch) | |
| tree | e9cc8343ac5a938a1106820f987bafe23302b738 /lldb/source | |
| parent | 59998b7b7f12c867062a4b61579511ad6c0ca144 (diff) | |
| download | bcm5719-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.cpp | 2 |
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: |

