diff options
Diffstat (limited to 'libft/src/ft_putnbr.c')
-rw-r--r-- | libft/src/ft_putnbr.c | 10 |
1 files changed, 5 insertions, 5 deletions
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 <libft.h> #include <unistd.h> +#include <inttypes.h> -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); } |