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 <kei...@keithp.com> --- Xi/grabdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Xi/grabdev.c b/Xi/grabdev.c index 9c6c429..0900438 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; } } -- 1.8.5.2 _______________________________________________ xorg-devel@lists.x.org: X.Org development Archives: http://lists.x.org/archives/xorg-devel Info: http://lists.x.org/mailman/listinfo/xorg-devel