summaryrefslogtreecommitdiffstats
path: root/src/p_split.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_split.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_split.c')
-rw-r--r--src/p_split.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/p_split.c b/src/p_split.c
index a8f4b5d..a1135ba 100644
--- a/src/p_split.c
+++ b/src/p_split.c
@@ -89,9 +89,9 @@ static void *p_del_split(char *words[], size_t todel)
static char **p_get_words(const char line[], const t_split_block *sp)
{
char **words;
- int64_t i;
+ long i;
size_t oldpos;
- int8_t oldif;
+ char oldif;
if ((words = (char**)malloc((sp->count + 1) * sizeof(char*))) == NULL)
return (NULL);