diff options
Diffstat (limited to 'libft/src/get_next_line.c')
-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); |