From 1e4fdf3068b1c9142793fae53a0c75a25b44d1cb Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Tue, 21 Apr 2020 19:41:43 +0200 Subject: Cool --- libft/src/get_next_line.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libft/src/get_next_line.c') diff --git a/libft/src/get_next_line.c b/libft/src/get_next_line.c index ae64125..2b2ba80 100644 --- a/libft/src/get_next_line.c +++ b/libft/src/get_next_line.c @@ -36,7 +36,7 @@ static char while (++j < size2) dst[i + j] = s2[j]; dst[i + j] = '\0'; - ft_memdel((void**)&s1); + ft_memdel((void*)&s1); return (dst); } @@ -56,7 +56,7 @@ static int { *line = ft_strjoin_gnl(*line, buf); if ((size = read(fd, buf, BUFFER_SIZE)) == -1) - ft_memdel((void**)&buf); + ft_memdel((void*)&buf); if (size == -1) return (-1); buf[size] = 0; @@ -64,7 +64,7 @@ static int *line = ft_strjoin_gnl(*line, buf); if (end) curr->rest = ft_swap_gnl(end + 1, curr->rest); - ft_memdel((void**)&buf); + ft_memdel((void*)&buf); if (!end) return (0); return (size); -- cgit v1.2.3