summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-24 17:44:08 +0200
committerMatthieu Herrb <matthieu.herrb@laas.fr>2011-04-24 17:44:40 +0200
commit4061704268d05f052366a294685ca7323a99c3b4 (patch)
treed84d676af7c5620a0e34264fb1e226065d0f247a
parent2bb8200df70bd93d29a5e9a68e50f5b3d8a062d3 (diff)
Use 0 instead of NULL for integer context.
Signed-off-by: Matthieu Herrb <matthieu.herrb@laas.fr>
-rw-r--r--src/ws.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ws.c b/src/ws.c
index 8605646..19fbae9 100644
--- a/src/ws.c
+++ b/src/ws.c
@@ -377,7 +377,7 @@ wsPreInit(InputDriverPtr drv, IDevPtr dev, int flags)
pInfo->flags = XI86_POINTER_CAPABLE | XI86_SEND_DRAG_EVENTS;
pInfo->conf_idev = dev;
pInfo->close_proc = NULL;
- pInfo->private_flags = NULL;
+ pInfo->private_flags = 0;
pInfo->always_core_feedback = NULL;
if (wsPreInit12(drv, pInfo, flags) != Success) {