diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2017-03-03 23:43:50 +0100 |
---|---|---|
committer | Ulrich Sibiller <uli42@gmx.de> | 2017-03-10 19:44:22 +0100 |
commit | e17c42e55fba79c1e265928f85bfd2b6c9908adb (patch) | |
tree | 96e7f1efe2d25ed2ee0d1ebb6e21b3cd1c4ad4c0 | |
parent | fe887d68aea4f7f8ae892a9e3fbbdfd80eae1357 (diff) | |
download | nx-libs-e17c42e55fba79c1e265928f85bfd2b6c9908adb.tar.gz nx-libs-e17c42e55fba79c1e265928f85bfd2b6c9908adb.tar.bz2 nx-libs-e17c42e55fba79c1e265928f85bfd2b6c9908adb.zip |
dix: Fix compiler warning
devices.c: In function ‘_AddInputDevice’:
devices.c:120:22: warning: assignment from incompatible pointer type [enabled by default]
dev->devPrivates = dev->unwrapProc = NULL;
-rw-r--r-- | nx-X11/programs/Xserver/dix/devices.c | 3 |
1 files changed, 2 insertions, 1 deletions
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; } |