aboutsummaryrefslogtreecommitdiffstats
path: root/src/playerData.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/playerData.c4
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);
}