ncurses 6.0 - patch 20170107
[ncurses.git] / test / form_driver_w.c
index 64f9872985c5b911c56f0230c0167e136f00ca24..3e928af8cc5692aebdff82265b574e5968a04cec 100644 (file)
@@ -31,7 +31,7 @@
  ****************************************************************************/
 
 /*
- * $Id: form_driver_w.c,v 1.12 2014/06/01 20:37:19 tom Exp $
+ * $Id: form_driver_w.c,v 1.13 2014/08/02 17:24:55 tom Exp $
  *
  * Test form_driver_w (int, int, wchar_t), a wide char aware
  * replacement of form_driver.
@@ -123,7 +123,7 @@ main(void)
                done = TRUE;
                break;
            default:
-               form_driver_w(my_form, OK, ch);
+               form_driver_w(my_form, OK, (wchar_t) ch);
                break;
            }
            break;