diff options
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_itoa.c | 27 |
1 files changed, 13 insertions, 14 deletions
diff --git a/libft/src/ft_itoa.c b/libft/src/ft_itoa.c index 2f68068..e10fbab 100644 --- a/libft/src/ft_itoa.c +++ b/libft/src/ft_itoa.c @@ -1,14 +1,13 @@ /* ************************************************************************** */ -/* LE - / */ -/* / */ -/* ft_itoa.c .:: .:/ . .:: */ -/* +:+:+ +: +: +:+:+ */ -/* By: rbousset <marvin@le-101.fr> +:+ +: +: +:+ */ -/* #+# #+ #+ #+# */ -/* Created: 2019/10/13 02:22:48 by rbousset #+# ## ## #+# */ -/* Updated: 2019/10/13 13:35:46 by rbousset ### #+. /#+ ###.fr */ -/* / */ -/* / */ +/* */ +/* ::: :::::::: */ +/* ft_itoa.c :+: :+: :+: */ +/* +:+ +:+ +:+ */ +/* By: rbousset <marvin@42.fr> +#+ +:+ +#+ */ +/* +#+#+#+#+#+ +#+ */ +/* Created: 2020/02/14 17:06:40 by rbousset #+# #+# */ +/* Updated: 2020/02/14 17:06:40 by rbousset ### ########lyon.fr */ +/* */ /* ************************************************************************** */ #include <libft.h> @@ -16,11 +15,11 @@ #include <stdlib.h> char - *ft_itoa(long long n) + *ft_itoa(long n) { - char *s; - long long nb; - uint8_t i; + char *s; + long nb; + uint8_t i; i = ft_intlen(n) - 1; if (!(s = (char*)malloc((i + 2) * sizeof(char)))) |