summaryrefslogtreecommitdiffstats
path: root/src/b_export_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/b_export_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/b_export_next.c')
-rw-r--r--src/b_export_next.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/b_export_next.c b/src/b_export_next.c
index 3457f6d..a1cae4a 100644
--- a/src/b_export_next.c
+++ b/src/b_export_next.c
@@ -42,7 +42,7 @@ static char **b_get_var(const char arg[], t_msh *msh)
return (var);
}
-static int64_t b_is_it_in_env(const char varname[], t_msh *msh)
+static long b_is_it_in_env(const char varname[], t_msh *msh)
{
char **env_dup;
size_t i;
@@ -90,7 +90,7 @@ void b_export_with_equals(const char arg[], t_msh *msh)
{
char varval[4096];
char **var;
- int64_t env_i;
+ long env_i;
varval[0] = C_NUL;
var = b_get_var(arg, msh);