summaryrefslogtreecommitdiff
path: root/dix/events.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2011-12-13 14:19:54 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2011-12-13 14:19:54 +1000
commit7528a6b88eb32098af4369a8bd9d70a808fa6f1c (patch)
tree7c070cba51914690c3e858199aeef4ff491587f4 /dix/events.c
parentf0de5e3990b70df9899b7dd17d7ee6ff7c768183 (diff)
parent898d97672907a8074031d0d1038cd44bb5caf40d (diff)
Merge branch 'for-whot' of git://people.freedesktop.org/~alanc/xserver into for-keith
Diffstat (limited to 'dix/events.c')
-rw-r--r--dix/events.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/events.c b/dix/events.c
index 653813966..8dff29973 100644
--- a/dix/events.c
+++ b/dix/events.c
@@ -190,7 +190,7 @@ core_get_type(const xEvent *event)
static inline int
xi2_get_type(const xEvent *event)
{
- xGenericEvent* e = (xGenericEvent*)event;
+ const xGenericEvent* e = (const xGenericEvent*)event;
return (e->type != GenericEvent || e->extension != IReqCode) ? 0 : e->evtype;
}