diff options
author | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-09-26 18:31:46 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@sun.com> | 2006-09-26 18:31:46 -0700 |
commit | 142aa1230c651bc70d192edbbfa6870488006d36 (patch) | |
tree | ba71534e37d60b2cfd7a68c102688eb27e7180e8 | |
parent | 945f89d551438298d9a09a4fd3e9e40ac6b1ad51 (diff) |
Fix sparse warnings: Using plain integer as NULL pointer
-rw-r--r-- | src/XvMC.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -520,8 +520,8 @@ Status XvMCGetDRInfo(Display *dpy, XvPortID port, */ if (req->shmKey >= 0) { - shMem = (CARD32 *) shmat(req->shmKey, 0, 0); - shmctl( req->shmKey, IPC_RMID, 0); + shMem = (CARD32 *) shmat(req->shmKey, NULL, 0); + shmctl( req->shmKey, IPC_RMID, NULL); if ( shMem ) { register volatile CARD32 *shMemC = shMem; |