der des der

This commit is contained in:
Etienne Rey-bethbeder 2022-10-18 17:35:48 +02:00
parent d73f6e1a03
commit 6ee4c3dd87
2 changed files with 4 additions and 4 deletions

View file

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/10/05 10:22:16 by erey-bet #+# #+# */
/* Updated: 2022/10/17 13:50:20 by erey-bet ### ########.fr */
/* Updated: 2022/10/18 17:32:20 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
@ -18,7 +18,8 @@ void ft_putnbr_fd(int n, int fd)
long nl;
nl = n;
nl *= ABS(nl);
if (nl < 0)
nl *= -1;
len = ft_get_size(nl);
if (n < 0)
ft_putchar_fd('-', fd);

View file

@ -6,7 +6,7 @@
/* By: erey-bet <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/09/26 16:31:10 by erey-bet #+# #+# */
/* Updated: 2022/10/11 22:44:32 by erey-bet ### ########.fr */
/* Updated: 2022/10/18 17:32:25 by erey-bet ### ########.fr */
/* */
/* ************************************************************************** */
@ -14,7 +14,6 @@
# define LIBFT_H
# include <stdlib.h>
# include <unistd.h>
# define ABS(X) (X > 0) - (X < 0)
typedef struct s_list
{