Mercurial > sdl-ios-xcode
changeset 1378:dc0e13e7e1ae
*** empty log message ***
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 19 Feb 2006 23:38:57 +0000 |
parents | 6b36d9bee83b |
children | c0a74f199ecf |
files | src/video/wscons/SDL_wsconsevents.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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;