style: Fixed norm error on libft

This commit is contained in:
B.Goulard 2024-11-11 21:19:12 +01:00
parent 09688e1c48
commit 75a508a48a
9 changed files with 27 additions and 134 deletions

View file

@ -6,7 +6,7 @@
/* By: bgoulard <bgoulard@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2023/11/09 09:08:01 by bgoulard #+# #+# */
/* Updated: 2024/07/19 21:28:41 by bgoulard ### ########.fr */
/* Updated: 2024/11/11 21:17:05 by bgoulard ### ########.fr */
/* */
/* ************************************************************************** */
@ -17,12 +17,13 @@
int ft_putnbr_fd(int nb, int fd)
{
char result[13] = {0};
char result[13];
int it;
int neg;
neg = 0;
it = 12;
ft_bzero(result, 13);
if (nb == INT_MIN)
return (ft_putstr_fd("-2147483648", fd));
if (nb < 0)