NCURSES_CAST
#define NCURSES_CAST(type,value) static_cast<type>(value)
#define NCURSES_CAST(type,value) (type)(value)