dim a56a9ff1ae Fix arm and aarch64 builds of libedit after r352275
On arm and arm64, where chars are unsigned by default, buildworld dies
with:

--- terminal.o ---
/usr/src/contrib/libedit/terminal.c:569:41: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     el->el_cursor.v][where & 0370] !=
                                     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
/usr/src/contrib/libedit/terminal.c:659:28: error: comparison of
integers of different signs: 'wint_t' (aka 'int') and 'wchar_t' (aka
'unsigned int') [-Werror,-Wsign-compare]
                                     [el->el_cursor.h] == MB_FILL_CHAR)
                                     ~~~~~~~~~~~~~~~~~ ^  ~~~~~~~~~~~~

Fix this by making MB_FILL_CHAR a wint_t, so no casting is needed.

Note that in https://reviews.freebsd.org/D21584 this was also proposed
by Yuichiro Naito <naito.yuichiro_gmail.com>.

Reviewed by:	bapt
Subscribers:	naito.yuichiro_gmail.com, ml_vishwin.info
MFC after:	3 weeks
X-MFC-With:	r352275
Differential Revision: https://reviews.freebsd.org/D21657
2019-09-14 21:49:42 +00:00
..
2019-02-26 05:59:22 +00:00
2018-12-23 01:05:52 +00:00
2019-08-11 06:26:03 +00:00
2018-10-20 20:49:46 +00:00
2018-09-19 06:42:05 +00:00
2018-11-04 18:24:11 +00:00
2019-06-28 04:52:24 +00:00
2019-06-29 18:41:40 +00:00
2019-06-28 22:41:17 +00:00
2019-09-01 16:12:05 +00:00
2018-05-31 09:11:21 +00:00
2019-09-01 16:41:24 +00:00
2019-05-08 18:46:12 +00:00
2018-08-14 18:58:01 +00:00
2019-03-07 13:36:00 +00:00
2018-11-26 15:33:55 +00:00
2019-05-08 11:04:09 +00:00
2019-02-25 18:41:16 +00:00
2018-01-28 03:16:54 +00:00
2019-08-27 20:11:45 +00:00
2019-07-18 00:27:28 +00:00
2018-05-08 04:52:52 +00:00
2019-09-12 00:19:16 +00:00
2019-07-04 08:40:10 +00:00
2019-08-22 18:52:30 +00:00