aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_use_flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_use_flags.c')
-rw-r--r--libft/src/ft_printf_use_flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_use_flags.c b/libft/src/ft_printf_use_flags.c
index 7b1299e..4646bc6 100644
--- a/libft/src/ft_printf_use_flags.c
+++ b/libft/src/ft_printf_use_flags.c
@@ -29,7 +29,7 @@ static void
va_list arg,
t_printflist *pflist)
{
- ft_memdel(pflist->fullflag);
+ ft_memdel((void**)&pflist->fullflag);
pflist->fullflag = ft_printf_get_flags(format, pos, pflist);
ft_printf_treat_flags(arg, pflist);
ft_printf_process(format + pos, arg, pflist);