summaryrefslogtreecommitdiff
path: root/mi/mipointer.c
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-19 22:18:14 +1000
commit4fa7fcf610d2ab91c1158f8034bbc0531060a86f (patch)
tree121acafcbaabf5a5672df1429da582f4a2daf04b /mi/mipointer.c
parent8bf2f562678107c346e8664f18c10f315c2768f5 (diff)
mi: fix compiler warning - explicitly typecast to InternalEvent.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'mi/mipointer.c')
-rw-r--r--mi/mipointer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mi/mipointer.c b/mi/mipointer.c
index 857a8cab3..e87fe7903 100644
--- a/mi/mipointer.c
+++ b/mi/mipointer.c
@@ -581,7 +581,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