aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_raycasting.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-16 19:28:18 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-16 19:28:18 +0100
commit7f3461875572335eedffa272226199dd1c2fc92a (patch)
treeab0a7ac913340dc09222cd49c72ead44ddc93fd4 /src/ft_raycasting.c
parentStill searching (diff)
download42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.gz
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.bz2
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.xz
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.tar.zst
42-cub3d-7f3461875572335eedffa272226199dd1c2fc92a.zip
Cleaner memdels
Diffstat (limited to '')
-rw-r--r--src/ft_raycasting.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_raycasting.c b/src/ft_raycasting.c
index 743dc36..aa050c5 100644
--- a/src/ft_raycasting.c
+++ b/src/ft_raycasting.c
@@ -107,6 +107,6 @@ void
ft_floor_cast(cl);
ft_calc_sprite(cl);
ft_calc_trap(cl);
- ft_memdel((void**)&cl->rlist.wall_dist_tab);
- ft_memdel((void**)&cl->rlist.wall_bz);
+ ft_memdel((void*)&cl->rlist.wall_dist_tab);
+ ft_memdel((void*)&cl->rlist.wall_bz);
}