I'm under water plz help me
This commit is contained in:
parent
9a4a5aa28c
commit
6478c2ab47
|
@ -6,7 +6,7 @@
|
|||
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2022/10/05 10:22:16 by erey-bet #+# #+# */
|
||||
/* Updated: 2022/11/22 21:08:14 by erey-bet ### ########.fr */
|
||||
/* Updated: 2022/11/25 14:56:52 by erey-bet ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
@ -21,7 +21,7 @@ int ft_putnbr(int n)
|
|||
count = 0;
|
||||
nl = n;
|
||||
if (nl < 0)
|
||||
nl *= nl - 1;
|
||||
nl *= -1;
|
||||
len = ft_get_size(nl);
|
||||
if (n < 0)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue