style: Fixed norm error on libft
This commit is contained in:
parent
09688e1c48
commit
75a508a48a
9 changed files with 27 additions and 134 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue