From fc29371a10bf6cfd93c4e9ccfe9193c1311efc98 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 27 Dec 2019 17:24:35 +0100 Subject: updated libft, better Makefile and .gitignore --- libft/src/ft_putnbr.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'libft/src/ft_putnbr.c') diff --git a/libft/src/ft_putnbr.c b/libft/src/ft_putnbr.c index 5220151..a3a1e24 100644 --- a/libft/src/ft_putnbr.c +++ b/libft/src/ft_putnbr.c @@ -11,13 +11,14 @@ /* / */ /* ************************************************************************** */ -#include "libft.h" +#include #include +#include -int - ft_putnbr(int nb) +void + ft_putnbr(long long nb) { - unsigned int i; + long long i; i = nb; if (nb < 0) @@ -32,5 +33,4 @@ int } else ft_putchar(i + '0'); - return (0); } -- cgit v1.2.3