From e17c42e55fba79c1e265928f85bfd2b6c9908adb Mon Sep 17 00:00:00 2001 From: Ulrich Sibiller Date: Fri, 3 Mar 2017 23:43:50 +0100 Subject: dix: Fix compiler warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit devices.c: In function ‘_AddInputDevice’: devices.c:120:22: warning: assignment from incompatible pointer type [enabled by default] dev->devPrivates = dev->unwrapProc = NULL; --- nx-X11/programs/Xserver/dix/devices.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'nx-X11/programs/Xserver/dix') diff --git a/nx-X11/programs/Xserver/dix/devices.c b/nx-X11/programs/Xserver/dix/devices.c index 3821d1290..d649a8657 100644 --- a/nx-X11/programs/Xserver/dix/devices.c +++ b/nx-X11/programs/Xserver/dix/devices.c @@ -117,7 +117,8 @@ _AddInputDevice(DeviceProc deviceProc, Bool autoStart) dev->xkb_interest= NULL; #endif dev->nPrivates = 0; - dev->devPrivates = dev->unwrapProc = NULL; + dev->devPrivates = NULL; + dev->unwrapProc = NULL; inputInfo.off_devices = dev; return dev; } -- cgit v1.2.3