*** empty log message ***
authorSam Lantinga <slouken@libsdl.org>
Sun, 19 Feb 2006 23:38:57 +0000
changeset 1378 dc0e13e7e1ae
parent 1377 6b36d9bee83b
child 1379 c0a74f199ecf
*** empty log message ***
src/video/wscons/SDL_wsconsevents.c
--- a/src/video/wscons/SDL_wsconsevents.c	Sun Feb 19 19:38:27 2006 +0000
+++ b/src/video/wscons/SDL_wsconsevents.c	Sun Feb 19 23:38:57 2006 +0000
@@ -117,7 +117,7 @@
 
   if ((n = read(private->fd, buf, sizeof(buf))) > 0) {
     for (i = 0; i < n; i++) {
-      char c = buf[i] & 0x7f;
+      unsigned char c = buf[i] & 0x7f;
       if (c == 224) // special key prefix -- what should we do with it?
 	continue;
       int release = (buf[i] & 0x80) != 0;