diff options
author | Xin LI <delphij@FreeBSD.org> | 2014-03-03 08:01:36 +0000 |
---|---|---|
committer | Xin LI <delphij@FreeBSD.org> | 2014-03-03 08:01:36 +0000 |
commit | fd13916c8bc8be7e49d262a16b4b7edb2deffd17 (patch) | |
tree | c2f530a7ee1e26e962cc09a4f80bdf719bf0b3f5 /contrib | |
parent | df1dff36ffa494636cd4576cf9961196b46bed7b (diff) | |
download | src-fd13916c8bc8be7e49d262a16b4b7edb2deffd17.tar.gz src-fd13916c8bc8be7e49d262a16b4b7edb2deffd17.zip |
Workaround a GCC warning to unbreak ARM build.
Reported by: ian
Notes
Notes:
svn path=/head/; revision=262705
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/ncurses/form/frm_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ncurses/form/frm_driver.c b/contrib/ncurses/form/frm_driver.c index ed561bf1e9e5..c03c93915c29 100644 --- a/contrib/ncurses/form/frm_driver.c +++ b/contrib/ncurses/form/frm_driver.c @@ -4503,7 +4503,7 @@ form_driver_w(FORM *form, int type, wchar_t c) assert(form->page); - if (c == FIRST_ACTIVE_MAGIC) + if (c == (wchar_t)FIRST_ACTIVE_MAGIC) { form->current = _nc_First_Active_Field(form); RETURN(E_OK); |