summaryrefslogtreecommitdiff
path: root/mi
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2009-04-09 08:40:20 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2009-04-09 20:50:32 +1000
commit630a6e9d14ffbf036fa72f580c72c0172d7c20bd (patch)
treef3352f1840e7cac591c2d71d41584f96ead2d46b /mi
parente3bb7dea06b9ab0e30d801bf6c3a59f94290aaed (diff)
mi: fix compiler warning - explicitly typecast to InternalEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi')
-rw-r--r--mi/mipointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index e3a465615..3d34481ef 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -590,7 +590,7 @@ miPointerMove (DeviceIntPtr pDev, ScreenPtr pScreen, int x, int y)
darwinEvents_lock();
#endif
for (i = 0; i < nevents; i++)
- mieqEnqueue(pDev, events[i].event);
+ mieqEnqueue(pDev, (InternalEvent*)events[i].event);
#ifdef XQUARTZ
darwinEvents_unlock();
#endif