* and: Thomas E. Dickey 1996-on *
****************************************************************************/
-/* $Id: curses.h.in,v 1.239 2014/03/22 22:57:35 tom Exp $ */
+/* $Id: curses.h.in,v 1.240 2014/08/02 16:01:30 tom Exp $ */
#ifndef __NCURSES_H
#define __NCURSES_H
#if !NCURSES_OPAQUE
#if NCURSES_WIDECHAR && @NCURSES_EXT_COLORS@
#define wattrset(win,at) ((win) \
- ? ((win)->_color = PAIR_NUMBER(at), \
+ ? ((win)->_color = NCURSES_CAST(int, PAIR_NUMBER(at)), \
(win)->_attrs = NCURSES_CAST(attr_t, at), \
OK) \
: ERR)