X-Git-Url: https://ncurses.scripts.mit.edu/?a=blobdiff_plain;f=test%2Ftest_addwstr.c;h=7f5cc275365bbc3e66a9a6ee92af58a1e4fc9880;hb=cba932f979e14e49b63e06715e80f64d9ffe6e5e;hp=92334aee3b16b6b5b93bdc7b58936842389bf846;hpb=9d7a689764468c4dcea1fa7ffc6a2b37b8740330;p=ncurses.git diff --git a/test/test_addwstr.c b/test/test_addwstr.c index 92334aee..7f5cc275 100644 --- a/test/test_addwstr.c +++ b/test/test_addwstr.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: test_addwstr.c,v 1.6 2010/12/12 00:18:00 tom Exp $ + * $Id: test_addwstr.c,v 1.7 2011/12/10 19:55:10 tom Exp $ * * Demonstrate the waddwstr() and wadd_wch functions. * Thomas Dickey - 2009/9/12 @@ -233,8 +233,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];