diff options
author | marha <marha@users.sourceforge.net> | 2011-05-05 11:41:46 +0000 |
---|---|---|
committer | marha <marha@users.sourceforge.net> | 2011-05-05 11:41:46 +0000 |
commit | af050a64bfe6ec54c622dfd7e22fde43c630b77e (patch) | |
tree | 28be2f9774d275e5517f5c9227d13895657cd505 /xorg-server/dix/devices.c | |
parent | 3aa6e4dde5745319ed3051bdb11d107b072282e3 (diff) | |
download | vcxsrv-af050a64bfe6ec54c622dfd7e22fde43c630b77e.tar.gz vcxsrv-af050a64bfe6ec54c622dfd7e22fde43c630b77e.tar.bz2 vcxsrv-af050a64bfe6ec54c622dfd7e22fde43c630b77e.zip |
Solved run-time exception in debug because value was larget then a s8
Diffstat (limited to 'xorg-server/dix/devices.c')
-rw-r--r-- | xorg-server/dix/devices.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xorg-server/dix/devices.c b/xorg-server/dix/devices.c index 4a94c0534..3164e397e 100644 --- a/xorg-server/dix/devices.c +++ b/xorg-server/dix/devices.c @@ -1841,7 +1841,7 @@ DoChangeKeyboardControl (ClientPtr client, DeviceIntPtr keybd, XID *vlist, vmask &= ~index2;
switch (index2) {
case KBKeyClickPercent:
- t = (INT8)*vlist;
+ t = *vlist;
vlist++;
if (t == -1) {
t = defaultKeyboardControl.click;
|