diff options
author | Eric Wong <normalperson@yhbt.net> | 2006-07-17 00:15:52 +0000 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2006-07-17 00:15:52 +0000 |
commit | 368034e1995e8cb27b96f98df0fe07542f446023 (patch) | |
tree | 657a082d61c0b19a2b4cabea4502742ee6c66937 /src/playerData.c | |
parent | 232dcf4b9456e44f6829229671c04a781d0f353b (diff) | |
download | mpd-368034e1995e8cb27b96f98df0fe07542f446023.tar.gz mpd-368034e1995e8cb27b96f98df0fe07542f446023.tar.xz mpd-368034e1995e8cb27b96f98df0fe07542f446023.zip |
sparse: replace 0 (integer) usage with NULL where appropriate
Probably pedantic, but yes, might as well in case we run into
strange platforms where NULL is something strange.
git-svn-id: https://svn.musicpd.org/mpd/trunk@4380 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playerData.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playerData.c b/src/playerData.c index 84763225a..ec5d5d315 100644 --- a/src/playerData.c +++ b/src/playerData.c @@ -99,7 +99,7 @@ void initPlayerData(void) { ERROR("problems shmat'ing\n"); exit(EXIT_FAILURE); } - if (shmctl(shmid, IPC_RMID, 0)<0) { + if (shmctl(shmid, IPC_RMID, NULL)<0) { ERROR("problems shmctl'ing\n"); exit(EXIT_FAILURE); } @@ -115,7 +115,7 @@ void initPlayerData(void) { ERROR("problems shmat'ing\n"); exit(EXIT_FAILURE); } - if (shmctl(shmid, IPC_RMID, 0)<0) { + if (shmctl(shmid, IPC_RMID, NULL)<0) { ERROR("problems shmctl'ing\n"); exit(EXIT_FAILURE); } |