summaryrefslogtreecommitdiff
path: root/src/emuWheel.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-25 17:24:15 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-25 17:24:15 +0930
commit184206e7174dc08239d6a78a1ca912176e3f6229 (patch)
tree37d34271a6d6e9bdf551d446d5cc2f4dcb1c2fdb /src/emuWheel.c
parent79ff677c52d38f67144f09bd534aaef862946a5e (diff)
Wheel emulation: initial values must be char.
parsing int* to char* in XIChangeDeviceProperty means we lose values.
Diffstat (limited to 'src/emuWheel.c')
-rw-r--r--src/emuWheel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/emuWheel.c b/src/emuWheel.c
index 5cb5571..92494bb 100644
--- a/src/emuWheel.c
+++ b/src/emuWheel.c
@@ -230,7 +230,7 @@ void
EvdevWheelEmuPreInit(InputInfoPtr pInfo)
{
EvdevPtr pEvdev = (EvdevPtr)pInfo->private;
- int val[2];
+ char val[2];
int wheelButton;
int inertia;
int timeout;