]> ncurses.scripts.mit.edu Git - ncurses.git/blobdiff - test/test_getstr.c
ncurses 5.6 - patch 20070728
[ncurses.git] / test / test_getstr.c
index 2af10091d48abc22d1d2e9375775d5b15829397a..5710c1ab982bf7c61a388a09d1582d9df736613b 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: test_getstr.c,v 1.5 2007/07/21 22:22:55 tom Exp $
+ * $Id: test_getstr.c,v 1.6 2007/07/28 19:46:43 tom Exp $
  *
  * Author: Thomas E Dickey
  *
@@ -89,7 +89,7 @@ MovePrompt(WINDOW *txtwin, int limit, int y, int x)
 static int
 ShowFlavor(WINDOW *strwin, WINDOW *txtwin, Flavors flavor, int limit)
 {
-    char *name = "?";
+    const char *name = "?";
     bool limited = FALSE;
     bool wins = (txtwin != stdscr);
     int result;