diff options
author | Daniel Stenberg <daniel@haxx.se> | 2005-11-28 09:36:26 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2005-11-28 09:36:26 +0000 |
commit | ee76cc3716267720025bab498aa9b8a136f89218 (patch) | |
tree | a824acdf542afbf1a52cbe6e7a27284da7a08da0 /uisimulator/x11/screenhack.c | |
parent | 446dc2aae1636570c433594d2b48b2e8052e5b90 (diff) | |
download | rockbox-ee76cc3716267720025bab498aa9b8a136f89218.tar.gz rockbox-ee76cc3716267720025bab498aa9b8a136f89218.zip |
silence picky gcc4 warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@8097 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator/x11/screenhack.c')
-rw-r--r-- | uisimulator/x11/screenhack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/uisimulator/x11/screenhack.c b/uisimulator/x11/screenhack.c index 162e0ca82a..4cd2802aa2 100644 --- a/uisimulator/x11/screenhack.c +++ b/uisimulator/x11/screenhack.c @@ -272,7 +272,7 @@ int screenhack_handle_event(XEvent *event, bool *release) { KeySym keysym; unsigned char c = 0; - XLookupString (&event->xkey, &c, 1, &keysym, 0); + XLookupString (&event->xkey, (char *)&c, 1, &keysym, 0); key = keysym; #if 0 DEBUGF("Got keypress: %c (%02x) %x, tick %ld\n", c, c, @@ -284,7 +284,7 @@ int screenhack_handle_event(XEvent *event, bool *release) { KeySym keysym; unsigned char c = 0; - XLookupString (&event->xkey, &c, 1, &keysym, 0); + XLookupString (&event->xkey, (char *)&c, 1, &keysym, 0); key = keysym; #if 0 DEBUGF("Got keyrelease: %c (%02x) %x, tick %ld\n", c, c, |