X-Git-Url: https://ncurses.scripts.mit.edu/?p=ncurses.git;a=blobdiff_plain;f=test%2Finserts.c;h=9c3a89ee3b617e022b1eb156567a57687516101e;hp=700c27c1d9b8e267db3f9ad05b6ed1a96db29361;hb=59108c98bda25ae50b3a319e2bcb7f4b9a174024;hpb=2a250f30ac496bb8a383036dcbd4ec0218c98ac5 diff --git a/test/inserts.c b/test/inserts.c index 700c27c1..9c3a89ee 100644 --- a/test/inserts.c +++ b/test/inserts.c @@ -26,7 +26,7 @@ * authorization. * ****************************************************************************/ /* - * $Id: inserts.c,v 1.19 2009/09/12 22:50:03 tom Exp $ + * $Id: inserts.c,v 1.20 2009/10/10 16:01:41 tom Exp $ * * Demonstrate the winsstr() and winsch functions. * Thomas Dickey - 2002/10/19 @@ -314,7 +314,7 @@ test_inserts(int level) beep(); break; } - buffer[length++] = ch; + buffer[length++] = (char) ch; buffer[length] = '\0'; /* put the string in, one character at a time */