X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Fins_wide.c;h=35d0503edbe3cb1eb93d02b22a388a6051f5883e;hp=87deb1a14d53b75eb8cb102399c9437452666045;hb=6af42291adceeb1bd8caab41e16762ec6d96529c;hpb=aa4fd77b765d528af776d42ea6e98a7405e18b40 diff --git a/test/ins_wide.c b/test/ins_wide.c index 87deb1a1..35d0503e 100644 --- a/test/ins_wide.c +++ b/test/ins_wide.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: ins_wide.c,v 1.15 2010/12/12 00:20:14 tom Exp $ + * $Id: ins_wide.c,v 1.16 2011/12/10 19:54:43 tom Exp $ * * Demonstrate the wins_wstr() and wins_wch functions. * Thomas Dickey - 2002/11/23 @@ -228,8 +228,9 @@ test_inserts(int level) WINDOW *work = 0; WINDOW *show = 0; int margin = (2 * MY_TABSIZE) - 1; - Options option = ((m_opt ? oMove : oDefault) - | ((w_opt || (level > 0)) ? oWindow : oDefault)); + Options option = (Options) ((int) (m_opt ? oMove : oDefault) + | (int) ((w_opt || (level > 0)) + ? oWindow : oDefault)); if (first) { static char cmd[80];