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>
This commit is contained in:
parent
08d0481e29
commit
3c94b89f14
|
@ -191,7 +191,7 @@ CreateMaskFromList(ClientPtr client, XEventClass * list, int count,
|
||||||
for (j = 0; j < ExtEventIndex; j++)
|
for (j = 0; j < ExtEventIndex; j++)
|
||||||
if (EventInfo[j].type == (*list & 0xff)) {
|
if (EventInfo[j].type == (*list & 0xff)) {
|
||||||
mask[device].mask |= EventInfo[j].mask;
|
mask[device].mask |= EventInfo[j].mask;
|
||||||
mask[device].dev = (Pointer) tdev;
|
mask[device].dev = (void *) tdev;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue