diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
commit | c5aae008dee36276154882d8fd56c3bdeb473474 (patch) | |
tree | a40740914847ebf39a5f8cb3acf6a48c8b9d61ef /libft/src/get_next_line.c | |
parent | TODO update (diff) | |
download | 42-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 '')
-rw-r--r-- | libft/src/get_next_line.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/get_next_line.c b/libft/src/get_next_line.c index 032ad95..59b650f 100644 --- a/libft/src/get_next_line.c +++ b/libft/src/get_next_line.c @@ -13,7 +13,6 @@ #include <libft.h> #include <stdlib.h> #include <stddef.h> -#include <stdint.h> #include <unistd.h> static char *ft_strjoin_gnl(char *s1, char *s2) @@ -43,7 +42,7 @@ static int ft_read_gnl(int fd, char **line, t_gnl *curr) { char *buf; char *end; - int64_t size; + long size; if ((buf = malloc(BUFFER_SIZE + 1)) == NULL) return (-1); |