summaryrefslogtreecommitdiff
path: root/dix/inpututils.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/inpututils.c
parentf0de5e3990b70df9899b7dd17d7ee6ff7c768183 (diff)
parent898d97672907a8074031d0d1038cd44bb5caf40d (diff)
Merge branch 'for-whot' of git://people.freedesktop.org/~alanc/xserver into for-keith
Diffstat (limited to 'dix/inpututils.c')
-rw-r--r--dix/inpututils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dix/inpututils.c b/dix/inpututils.c
index 9232bdc29..8cd4d5921 100644
--- a/dix/inpututils.c
+++ b/dix/inpututils.c
@@ -626,7 +626,7 @@ void verify_internal_event(const InternalEvent *ev)
if (ev && ev->any.header != ET_Internal)
{
int i;
- unsigned char *data = (unsigned char*)ev;
+ const unsigned char *data = (const unsigned char*)ev;
ErrorF("dix: invalid event type %d\n", ev->any.header);