summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_itoa.c
diff options
context:
space:
mode:
authorRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-30 17:05:31 +0100
committerRudy Bousset <rbousset@z2r5p6.le-101.fr>2019-10-30 17:05:31 +0100
commit3051df7c3e57d5645a78d87fa63ff1144fd8699a (patch)
tree5676fe8501f965cc9e62b8c25791ce1c9a04b0f4 /libft/src/ft_itoa.c
parentwork work (diff)
download42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.gz
42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.bz2
42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.xz
42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.tar.zst
42-minishell-3051df7c3e57d5645a78d87fa63ff1144fd8699a.zip
exit function works
Diffstat (limited to '')
-rw-r--r--libft/src/ft_itoa.c4
1 files changed, 2 insertions, 2 deletions
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 <stdlib.h>
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)