projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 5.7 - patch 20091010
[ncurses.git]
/
test
/
test_addchstr.c
diff --git
a/test/test_addchstr.c
b/test/test_addchstr.c
index 9f8a34910fc0c32cedd12dde3d66cb9514651200..247a75604c903fa1c806cf5acf0e843b95afb1bc 100644
(file)
--- a/
test/test_addchstr.c
+++ b/
test/test_addchstr.c
@@
-26,7
+26,7
@@
* authorization. *
****************************************************************************/
/*
* authorization. *
****************************************************************************/
/*
- * $Id: test_addchstr.c,v 1.
4 2009/09/13 00:00:58
tom Exp $
+ * $Id: test_addchstr.c,v 1.
5 2009/10/10 16:01:41
tom Exp $
*
* Demonstrate the waddchstr() and waddch functions.
* Thomas Dickey - 2009/9/12
*
* Demonstrate the waddchstr() and waddch functions.
* Thomas Dickey - 2009/9/12
@@
-346,7
+346,7
@@
test_adds(int level)
beep();
break;
}
beep();
break;
}
- buffer[length++] = ch;
+ buffer[length++] =
(char)
ch;
buffer[length] = '\0';
/* put the string in, one character at a time */
buffer[length] = '\0';
/* put the string in, one character at a time */