From 3051df7c3e57d5645a78d87fa63ff1144fd8699a Mon Sep 17 00:00:00 2001 From: Rudy Bousset Date: Wed, 30 Oct 2019 17:05:31 +0100 Subject: exit function works --- libft/src/ft_itoa.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libft/src/ft_itoa.c') diff --git a/libft/src/ft_itoa.c b/libft/src/ft_itoa.c index bf3c0c8..98f33f2 100644 --- a/libft/src/ft_itoa.c +++ b/libft/src/ft_itoa.c @@ -16,7 +16,7 @@ #include static uint8_t - ft_intlen(int n) + ft_intllen(int n) { uint8_t len; @@ -40,7 +40,7 @@ char unsigned int nb; uint8_t i; - i = ft_intlen(n) - 1; + i = ft_intllen(n) - 1; if (!(s = (char*)malloc((i + 2) * sizeof(char)))) return (NULL); if (!n) -- cgit v1.2.3