summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordelphij <delphij@FreeBSD.org>2014-03-03 08:01:36 +0000
committerdelphij <delphij@FreeBSD.org>2014-03-03 08:01:36 +0000
commitc7ed23130a9d3bd99ad49c207482e6a41091d780 (patch)
treec2f530a7ee1e26e962cc09a4f80bdf719bf0b3f5
parentfd9caa15e2303df419999ed09a3763e3ae1e1782 (diff)
downloadFreeBSD-src-c7ed23130a9d3bd99ad49c207482e6a41091d780.zip
FreeBSD-src-c7ed23130a9d3bd99ad49c207482e6a41091d780.tar.gz
Workaround a GCC warning to unbreak ARM build.
Reported by: ian
-rw-r--r--contrib/ncurses/form/frm_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ncurses/form/frm_driver.c b/contrib/ncurses/form/frm_driver.c
index ed561bf..c03c939 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);
OpenPOWER on IntegriCloud