# HG changeset patch # User Sam Lantinga # Date 1140392337 0 # Node ID dc0e13e7e1aee6963706a8636a76f628971e3290 # Parent 6b36d9bee83b941e5e9e22933f17f7a14d948db4 *** empty log message *** diff -r 6b36d9bee83b -r dc0e13e7e1ae 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;