diff --git a/Xi/exglobals.h b/Xi/exglobals.h index f7557079e..8c5a42e6e 100644 --- a/Xi/exglobals.h +++ b/Xi/exglobals.h @@ -76,7 +76,7 @@ extern int ChangeDeviceNotify; extern int DevicePresenceNotify; extern int DevicePropertyNotify; -extern int RT_INPUTCLIENT; +extern RESTYPE RT_INPUTCLIENT; extern DevPrivateKeyRec XIClientPrivateKeyRec; #define XIClientPrivateKey (&XIClientPrivateKeyRec) diff --git a/Xi/extinit.c b/Xi/extinit.c index 82df7eb02..46d34599c 100644 --- a/Xi/extinit.c +++ b/Xi/extinit.c @@ -358,7 +358,7 @@ int ChangeDeviceNotify; int DevicePresenceNotify; int DevicePropertyNotify; -int RT_INPUTCLIENT; +RESTYPE RT_INPUTCLIENT; /***************************************************************** *