Fix buffer size.
svn path=/trunk/; revision=60843
/* printable ASCII's characters for chargen */
#define ASCII_START 32
#define ASCII_END 126
-#define NUM_CHARS ASCII_END - ASCII_START
+#define NUM_CHARS ASCII_END - ASCII_START + 1
/* number of chars to put on a line */
#define LINESIZE 74 // 72 + CR + NL
/* fill the array with printable characters */
for (charIndex = 0, i = ASCII_START; i <= ASCII_END; charIndex++, i++)
- chars[charIndex] = (char)i;
+ chars[charIndex] = (CHAR)i;
loopIndex = 0;
while (!bShutdown)