aboutsummaryrefslogtreecommitdiff
path: root/src/playerData.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-17 00:15:52 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-17 00:15:52 +0000
commit368034e1995e8cb27b96f98df0fe07542f446023 (patch)
tree657a082d61c0b19a2b4cabea4502742ee6c66937 /src/playerData.c
parent232dcf4b9456e44f6829229671c04a781d0f353b (diff)
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 'src/playerData.c')
-rw-r--r--src/playerData.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/playerData.c b/src/playerData.c
index 84763225..ec5d5d31 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);
}