summaryrefslogtreecommitdiffstats
path: root/src/s_init_next.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
commitc5aae008dee36276154882d8fd56c3bdeb473474 (patch)
treea40740914847ebf39a5f8cb3acf6a48c8b9d61ef /src/s_init_next.c
parentTODO update (diff)
download42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst
42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip
Now norme
Diffstat (limited to 'src/s_init_next.c')
-rw-r--r--src/s_init_next.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/s_init_next.c b/src/s_init_next.c
index 8731957..000ba0a 100644
--- a/src/s_init_next.c
+++ b/src/s_init_next.c
@@ -32,7 +32,7 @@ void s_inc_shlvl(t_msh *msh)
char fmt[8];
char tmp[255];
char str[255];
- int32_t shlvl;
+ int shlvl;
u_get_var_value(tmp, "$SHLVL", 255, msh);
if (tmp[0] == C_NUL)
@@ -52,7 +52,7 @@ void s_inc_shlvl(t_msh *msh)
}
}
-char **s_dupenv_del(char **nenvp, uint64_t i)
+char **s_dupenv_del(char **nenvp, unsigned long i)
{
while (i > 0)
{
@@ -65,7 +65,7 @@ char **s_dupenv_del(char **nenvp, uint64_t i)
char **s_dupenv(char *const envp[])
{
- uint64_t i;
+ unsigned long i;
char **nenvp;
i = 0;