aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index b55e051..43b482a 100644
--- a/src/main.c
+++ b/src/main.c
@@ -15,7 +15,7 @@
#include <cub3d.h>
int
- main(int argc, const char *argv[])
+ main(int argc, const char *argv[], char *const envp[])
{
t_cub clist;
@@ -27,6 +27,6 @@ int
if (ft_init_winlx(&clist) < 0)
return (ft_exit(FT_RET_FAILED_MLX, &clist));
ft_wall_tex_init(&clist);
- ft_use_args(argc, argv, &clist);
+ ft_use_args(argc, argv, envp, &clist);
return (FT_RET_FINE);
}