X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fglx%2Fstarwars.c;h=3845f2e2f0e38b36aec0cb315ca5bd7c1fc2bec9;hp=de3833c5d74f7357a4c3de75150db5317174a5db;hb=8afc01a67be4fbf3f1cc0fce9adf01b5289a21c6;hpb=3f1091236d800c43a3124c44c7da54e53f205b13 diff --git a/hacks/glx/starwars.c b/hacks/glx/starwars.c index de3833c5..3845f2e2 100644 --- a/hacks/glx/starwars.c +++ b/hacks/glx/starwars.c @@ -1,4 +1,4 @@ -/* starwars, Copyright (c) 1998-2012 Jamie Zawinski and +/* starwars, Copyright (c) 1998-2014 Jamie Zawinski and * Claudio Matsuoka * * Permission to use, copy, modify, distribute, and sell this software and its @@ -319,10 +319,10 @@ get_more_lines (sws_configuration *sc) */ while (target > 0) { - char c = textclient_getc (sc->tc); + int c = textclient_getc (sc->tc); if (c <= 0) break; - sc->buf[sc->buf_tail++] = c; + sc->buf[sc->buf_tail++] = (char) c; sc->buf[sc->buf_tail] = 0; target--; }