aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_exit.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 16:19:22 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-31 16:19:22 +0200
commit2ea18fb7e893691389108ae7731e26576715ca13 (patch)
treec6a4ccfb785ff7289279d6b08997939c36b4c9ca /src/ft_exit.c
parentGood (diff)
download42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.gz
42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.bz2
42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.xz
42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.tar.zst
42-cub3d-2ea18fb7e893691389108ae7731e26576715ca13.zip
Alright sounds
Diffstat (limited to 'src/ft_exit.c')
-rw-r--r--src/ft_exit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_exit.c b/src/ft_exit.c
index 79b3068..85c812f 100644
--- a/src/ft_exit.c
+++ b/src/ft_exit.c
@@ -49,7 +49,7 @@ static void
pthread_join(clist->mtid, NULL);
}
i = -1;
- while (++i < 13)
+ while (++i < 16)
{
pthread_mutex_unlock(&clist->sfx[i].mutex);
pthread_cancel(clist->sfx[i].tid);