summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/p_subst_alias.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/p_subst_alias.c b/src/p_subst_alias.c
index ff3f3dc..289a951 100644
--- a/src/p_subst_alias.c
+++ b/src/p_subst_alias.c
@@ -74,7 +74,7 @@ static void p_reset_used(size_t used[], t_bool reset, size_t *i)
while (*i < 4096)
{
used[*i] = 0;
- *i++;
+ *i += 1;
}
*i = 0;
}
@@ -88,7 +88,7 @@ size_t p_subst_alias(char word[], t_bool reset, t_msh *msh)
char tmp[255];
size_t locat[2];
char *ptr;
- ssize_t j;
+ int64_t j;
size_t usedcmp;
t_bool good;
@@ -110,7 +110,7 @@ size_t p_subst_alias(char word[], t_bool reset, t_msh *msh)
{
good = TRUE;
j = -1;
- while (++j < i)
+ while (++j < (int64_t)i)
good = (used[j] == usedcmp) ? (FALSE) : (good);
if (good == TRUE)
{