diff options
Diffstat (limited to 'libft/src/get_next_line.c')
-rw-r--r-- | libft/src/get_next_line.c | 6 |
1 files changed, 3 insertions, 3 deletions
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); |