diff options
author | Peter Harris <pharris@opentext.com> | 2013-05-30 18:44:22 -0400 |
---|---|---|
committer | Peter Harris <pharris@opentext.com> | 2013-05-30 18:44:22 -0400 |
commit | 2c0b8ea68cbfa35883e0d41af4a3359e8f688601 (patch) | |
tree | 5a98dcaf4b2aef0b24b71cc7bd075bd03212081e /xts5/XI/SetDeviceButtonMapping.m | |
parent | d3e7db3fb3c2bd39e30bc1d4ccdf81a00b556c31 (diff) |
XI: Fix random failures on LP64 platforms
It turns out that XID is a 'long' for historical reasons, but the XInput
error macros expect a pointer-to-int.
Signed-off-by: Peter Harris <pharris@opentext.com>
Diffstat (limited to 'xts5/XI/SetDeviceButtonMapping.m')
-rw-r--r-- | xts5/XI/SetDeviceButtonMapping.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xts5/XI/SetDeviceButtonMapping.m b/xts5/XI/SetDeviceButtonMapping.m index 54b03ad7..62108ec5 100644 --- a/xts5/XI/SetDeviceButtonMapping.m +++ b/xts5/XI/SetDeviceButtonMapping.m @@ -111,7 +111,7 @@ int nmap = 255; */ #define MAPSIZE 256 static unsigned char Map[MAPSIZE]; -static XID baddevice; +static int baddevice; static int nbtns; extern ExtDeviceInfo Devs; |