From dce62fbcb4a18fff6824cdc55ddc80f8dea8eb89 Mon Sep 17 00:00:00 2001 From: "Tony J. White =" Date: Mon, 19 Mar 2007 21:50:42 +0000 Subject: [PATCH] * (bug 3065) fixed non-SDL X11 client crash on certain keys (e.g. XK_egrave ) --- code/unix/linux_glimp.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/unix/linux_glimp.c b/code/unix/linux_glimp.c index b52bf172..71378c36 100644 --- a/code/unix/linux_glimp.c +++ b/code/unix/linux_glimp.c @@ -199,8 +199,8 @@ static const char *Q_stristr( const char *s, const char *find) static char *XLateKey(XKeyEvent *ev, int *key) { - static char buf[64]; - static char bufnomod[2]; + static unsigned char buf[64]; + static unsigned char bufnomod[2]; KeySym keysym; int XLookupRet;