-/* xscreensaver, Copyright (c) 1992-2012 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-2013 Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
while (p < st->words + sizeof(st->words) - 1 &&
st->lines < MAXLINES)
{
- char c = textclient_getc (st->tc);
+ int c = textclient_getc (st->tc);
if (c == '\n')
st->lines++;
if (c > 0)
- *p++ = c;
+ *p++ = (char) c;
else
break;
}