summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Xi/grabdev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xi/grabdev.c b/Xi/grabdev.c
index 9c6c429ed..090043814 100644
--- a/Xi/grabdev.c
+++ b/Xi/grabdev.c
@@ -191,7 +191,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count,
for (j = 0; j < ExtEventIndex; j++)
if (EventInfo[j].type == (*list & 0xff)) {
mask[device].mask |= EventInfo[j].mask;
- mask[device].dev = (Pointer) tdev;
+ mask[device].dev = (void *) tdev;
break;
}
}