summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-09-27 13:44:15 -0700
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-09-27 13:44:15 -0700
commit34b32e0f6773004138543e6f41f5639736493707 (patch)
tree070af3eb00aa730d66c7cbb898743247514217d1
parent142aa1230c651bc70d192edbbfa6870488006d36 (diff)
Fix sparse warning: Using plain integer as NULL pointer
-rw-r--r--src/XvMCWrapper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XvMCWrapper.c b/src/XvMCWrapper.c
index 9fa0c99..42f175d 100644
--- a/src/XvMCWrapper.c
+++ b/src/XvMCWrapper.c
@@ -232,7 +232,7 @@ static int preInitW(Display *dpy)
* Resolve functions that are not hw driver specific.
*/
- void *handleZ = 0;
+ void *handleZ = NULL;
wrapperPreInit = 1;
xW.preInitialised = 0;