aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_init_winlx.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_init_winlx.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_init_winlx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_init_winlx.c b/src/ft_init_winlx.c
index dee4009..59d0b58 100644
--- a/src/ft_init_winlx.c
+++ b/src/ft_init_winlx.c
@@ -26,7 +26,7 @@ int
int
ft_init_winptr(t_cub *clist)
{
- ft_memdel((void**)&clist->wlist.winptr);
+ ft_memdel((void*)&clist->wlist.winptr);
if (!(clist->wlist.winptr = mlx_new_window(clist->wlist.wlx,
clist->wlist.x_size, clist->wlist.y_size, "Cub3D")))
return (-1);