Commit e17c42e5 authored by Ulrich Sibiller's avatar Ulrich Sibiller

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;
parent fe887d68
...@@ -117,7 +117,8 @@ _AddInputDevice(DeviceProc deviceProc, Bool autoStart) ...@@ -117,7 +117,8 @@ _AddInputDevice(DeviceProc deviceProc, Bool autoStart)
dev->xkb_interest= NULL; dev->xkb_interest= NULL;
#endif #endif
dev->nPrivates = 0; dev->nPrivates = 0;
dev->devPrivates = dev->unwrapProc = NULL; dev->devPrivates = NULL;
dev->unwrapProc = NULL;
inputInfo.off_devices = dev; inputInfo.off_devices = dev;
return dev; return dev;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment