]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/dots_xcurses.c
ncurses 6.0 - patch 20171209
[ncurses.git] / test / dots_xcurses.c
index ef077ab23d21d06da85327b2dbfa4f8761945d47..f86cd8d16b3318c9fbf096c02e517720e4b60a26 100644 (file)
@@ -29,7 +29,7 @@
 /*
  * Author: Thomas E. Dickey
  *
- * $Id: dots_xcurses.c,v 1.13 2017/11/24 19:25:45 tom Exp $
+ * $Id: dots_xcurses.c,v 1.14 2017/12/09 21:04:41 tom Exp $
  *
  * A simple demo of the wide-curses interface used for comparison with termcap.
  */
@@ -245,7 +245,7 @@ main(int argc, char *argv[])
                napms(s_option);
            }
        }
-       wch[0] = p;
+       wch[0] = (wchar_t) p;
        addnwstr(wch, 1);
        refresh();
        ++total_chars;