diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-01 15:24:02 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2009-05-04 15:21:39 +1000 |
commit | 63a3c727b35d1ffd8a850a5177bd6623cd78b179 (patch) | |
tree | e260457d52b2b9254655b509c96d4d1c98fe74aa /Xext | |
parent | 226dd90597ef29998ac5db15c5457aad3fe9729e (diff) |
Xext: shut up compiler warnings in xtest.c
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'Xext')
-rw-r--r-- | Xext/xtest.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Xext/xtest.c b/Xext/xtest.c index cb32c2858..96380b769 100644 --- a/Xext/xtest.c +++ b/Xext/xtest.c @@ -50,6 +50,7 @@ #include <X11/extensions/XI.h> #include <X11/extensions/XIproto.h> #include "exglobals.h" +#include "mipointer.h" #include "modinit.h" @@ -162,7 +163,6 @@ ProcXTestFakeInput(ClientPtr client) int i; int base = 0; int flags = 0; - DeviceIntPtr xtstdevice; nev = (stuff->length << 2) - sizeof(xReq); if ((nev % sizeof(xEvent)) || !nev) @@ -415,7 +415,7 @@ ProcXTestFakeInput(ClientPtr client) } for (i = 0; i < nevents; i++) - mieqProcessDeviceEvent(dev, (events+i)->event, NULL); + mieqProcessDeviceEvent(dev, (InternalEvent*)(events+i)->event, NULL); miPointerUpdateSprite(dev); return client->noClientException; |