Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Mar 2014 08:01:36 +0000 (UTC)
From:      Xin LI <delphij@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262705 - head/contrib/ncurses/form
Message-ID:  <201403030801.s2381a34093717@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: delphij
Date: Mon Mar  3 08:01:36 2014
New Revision: 262705
URL: http://svnweb.freebsd.org/changeset/base/262705

Log:
  Workaround a GCC warning to unbreak ARM build.
  
  Reported by:	ian

Modified:
  head/contrib/ncurses/form/frm_driver.c

Modified: head/contrib/ncurses/form/frm_driver.c
==============================================================================
--- head/contrib/ncurses/form/frm_driver.c	Mon Mar  3 07:31:55 2014	(r262704)
+++ head/contrib/ncurses/form/frm_driver.c	Mon Mar  3 08:01:36 2014	(r262705)
@@ -4503,7 +4503,7 @@ form_driver_w(FORM *form, int type, wcha
 
   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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201403030801.s2381a34093717>