[PATCH XTS] xts5: BadDevice takes an int*, not an XID*
Peter Hutterer
peter.hutterer at who-t.net
Tue May 24 17:26:17 PDT 2011
On Tue, May 24, 2011 at 01:03:20PM -0700, Aaron Plattner wrote:
> startup.c: In function ‘init_xinput’:
> startup.c:505: error: passing argument 2 of ‘_xibaddevice’ from incompatible pointer type
> /usr/include/X11/extensions/XInput.h:162: note: expected ‘int *’ but argument is of type ‘XID *’
>
> Signed-off-by: Aaron Plattner <aplattner at nvidia.com>
Reviewed-by: Peter Hutterer <peter.hutterer at who-t.net>
> ---
> xts5/src/lib/startup.c | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/xts5/src/lib/startup.c b/xts5/src/lib/startup.c
> index 8f3bcb1..9d4d9bc 100644
> --- a/xts5/src/lib/startup.c
> +++ b/xts5/src/lib/startup.c
> @@ -153,7 +153,7 @@ extern int NXI_event;
> int XInputMajorOpcode;
> int XInputFirstError;
> int XInputFirstEvent;
> -XID baddevice;
> +int baddevice;
>
> Display *Dsp;
> Window Win;
> --
> 1.7.1
>
>
More information about the xorg-devel
mailing list