summaryrefslogtreecommitdiffstats
path: root/src/s_lpipes.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_lpipes.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_lpipes.c')
-rw-r--r--src/s_lpipes.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/s_lpipes.c b/src/s_lpipes.c
index 0f0529a..dc5feea 100644
--- a/src/s_lpipes.c
+++ b/src/s_lpipes.c
@@ -12,7 +12,6 @@
#include <libft.h>
#include <stdlib.h>
-#include <stdint.h>
#include <sys/types.h>
#ifdef __linux__
# include <linux/limits.h>
@@ -85,7 +84,7 @@ struct s_lpipes *s_split_pipes(const char word[], t_msh *msh)
struct s_lpipes *lpipes;
size_t pos[256];
char tmp[ARG_MAX];
- int16_t i;
+ short i;
ft_bzero(pos, 256 * sizeof(size_t));
s_get_split_pos(pos, word);