aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 21:03:07 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-06 21:03:07 +0100
commit874d8d3bbafb3d1919cfc6f21fdb780382f0d015 (patch)
tree6e1f455634bb1b5810e50e2c6e9e3515954ccf29 /src/main.c
parentFuck execve (diff)
download42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.gz
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.bz2
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.xz
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.tar.zst
42-cub3d-874d8d3bbafb3d1919cfc6f21fdb780382f0d015.zip
boy
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);
}