From 6ea4606cd3f74377691d200d69df8398f90cc2ff Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 12 Oct 2019 10:43:01 +0200 Subject: Basic conversion parsing Using a list to store each format conversion informations. --- printer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'printer.c') diff --git a/printer.c b/printer.c index 1484165..787cd0a 100644 --- a/printer.c +++ b/printer.c @@ -1,5 +1,5 @@ #include -#include "ft_printf.h" +#include "header.h" void ft_putchar(char c) { @@ -27,7 +27,7 @@ void ft_putnbr(int n) ft_putchar(p_n % 10 + '0'); } -void ft_putxnbr(unsigned int n, char *hex_symbols) +void ft_putxnbr(long unsigned int n, char *hex_symbols) { if (n > 15) ft_putxnbr(n / 16, hex_symbols); -- cgit