diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 20:27:21 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 20:27:21 +0100 |
commit | 2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a (patch) | |
tree | 55c5f819bcb1a6721cd597627d4acc1bcf7a8088 /libft/src/ft_uitoa_base.c | |
parent | Few norm (diff) | |
download | 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.gz 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.bz2 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.xz 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.tar.zst 42-minishell-2b741aba7ac9f3cd1488f86dd5e1fe11d579eb9a.zip |
Norming libft
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_uitoa_base.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libft/src/ft_uitoa_base.c b/libft/src/ft_uitoa_base.c index 81f9f4c..f020717 100644 --- a/libft/src/ft_uitoa_base.c +++ b/libft/src/ft_uitoa_base.c @@ -17,7 +17,7 @@ char *ft_uitoa_base(unsigned long n, char *base) { char *s; unsigned long nb; - unsigned char i; + unsigned char i; i = ft_uintlen_base(n, base) - 1; if (!(s = (char*)malloc((i + 2) * sizeof(char)))) |