summaryrefslogtreecommitdiffstats
path: root/src/p_subst_alias.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/p_subst_alias.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/p_subst_alias.c')
-rw-r--r--src/p_subst_alias.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_subst_alias.c b/src/p_subst_alias.c
index fb85b35..3ce1bbc 100644
--- a/src/p_subst_alias.c
+++ b/src/p_subst_alias.c
@@ -77,13 +77,13 @@ static size_t p_subst_alias_return(struct s_subst_alias s,
size_t used[],
size_t i)
{
- int64_t j;
+ long j;
if ((s.usedcmp = u_get_alias_value(s.value, s.tmp, ARG_MAX, s.msh)) != 0)
{
s.good = TRUE;
j = -1;
- while (++j < (int64_t)i)
+ while (++j < (long)i)
s.good = (used[j] == s.usedcmp) ? (FALSE) : (s.good);
if (s.good == TRUE)
{