summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2013-12-15 01:40:04 -0800
committerKeith Packard <keithp@keithp.com>2014-01-22 19:56:31 -0800
commit3c94b89f149c2d63424faed0d44a6911393c3569 (patch)
tree3338495f96578264ee805d5e3c42b28b89dab840
parent08d0481e299c28b64a0db9bb0782ba2b551028fd (diff)
Xi: Use 'void *' instead of 'Pointer' (which is going away)
There's no reason for XI to declare 'typedef char *Pointer' in a shared header file; assume it will eventually go away and stop using it here. Signed-off-by: Keith Packard <keithp@keithp.com> Reviewed-by: Eric Anholt <eric@anholt.net>
-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;
}
}