aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_treat_flags.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_treat_flags.c')
-rw-r--r--libft/src/ft_printf_treat_flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_printf_treat_flags.c b/libft/src/ft_printf_treat_flags.c
index cb60c19..8beebca 100644
--- a/libft/src/ft_printf_treat_flags.c
+++ b/libft/src/ft_printf_treat_flags.c
@@ -30,7 +30,7 @@ static int
nstr_ptr = nstr;
nstr = ft_printf_get_width_nstr(nstr, pflist);
ret = ft_printf_fetch_width(arg, nstr, pflist);
- ft_memdel(nstr_ptr);
+ ft_memdel((void**)&nstr_ptr);
(ret < 0) ? (pflist->isreverse = 1) : 0;
(ret < 0) ? (ret = -ret) : 0;
return (ret);