diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
commit | c5aae008dee36276154882d8fd56c3bdeb473474 (patch) | |
tree | a40740914847ebf39a5f8cb3acf6a48c8b9d61ef /libft/src/ft_itoa_base.c | |
parent | TODO update (diff) | |
download | 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip |
Now norme
Diffstat (limited to 'libft/src/ft_itoa_base.c')
-rw-r--r-- | libft/src/ft_itoa_base.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/ft_itoa_base.c b/libft/src/ft_itoa_base.c index 2537161..091b47c 100644 --- a/libft/src/ft_itoa_base.c +++ b/libft/src/ft_itoa_base.c @@ -11,14 +11,13 @@ /* ************************************************************************** */ #include <libft.h> -#include <inttypes.h> #include <stdlib.h> char *ft_itoa_base(long n, char *base) { char *s; long nb; - uint8_t i; + unsigned char i; i = ft_intlen_base(n, base) - 1; if ((s = (char*)malloc((i + 2) * sizeof(char))) == NULL) |