summaryrefslogtreecommitdiff
path: root/Xext
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-05-01 15:24:02 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-05-05 14:12:04 +1000
commita38d33f6ac765bc5a3296b325e2c9b4a6a10ebf1 (patch)
tree7a0f238f951a7d817c6a246302e50924ef37ebb5 /Xext
parent14d5471981151b27678de826daa078977217477a (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.c4
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;