aboutsummaryrefslogtreecommitdiffstats
path: root/libft/src/ft_printf_put_hex.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_printf_put_hex.c')
-rw-r--r--libft/src/ft_printf_put_hex.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libft/src/ft_printf_put_hex.c b/libft/src/ft_printf_put_hex.c
index bbf9821..f204bf1 100644
--- a/libft/src/ft_printf_put_hex.c
+++ b/libft/src/ft_printf_put_hex.c
@@ -55,7 +55,7 @@ void
{
str = ft_uitoa_base(x, FT_MIN_HEX_BASE);
ft_printf_cat_output(str, ft_strlen(str), pflist);
- ft_memdel(str);
+ ft_memdel((void**)&str);
}
ft_printf_put_width_post(pflist);
}
@@ -80,7 +80,7 @@ void
{
str = ft_uitoa_base(x, FT_MAJ_HEX_BASE);
ft_printf_cat_output(str, ft_strlen(str), pflist);
- ft_memdel(str);
+ ft_memdel((void**)&str);
}
ft_printf_put_width_post(pflist);
}