aboutsummaryrefslogtreecommitdiff
path: root/printer.c
diff options
context:
space:
mode:
authorCharles <sircharlesaze@gmail.com>2019-10-12 10:43:01 +0200
committerCharles <sircharlesaze@gmail.com>2019-10-12 11:48:54 +0200
commit6ea4606cd3f74377691d200d69df8398f90cc2ff (patch)
treef354459b9054f5bd23a7508c12ef1589af38e75a /printer.c
parentbddc2d153a4c47257740a0bf0651513058a612d5 (diff)
downloadft_printf-6ea4606cd3f74377691d200d69df8398f90cc2ff.tar.gz
ft_printf-6ea4606cd3f74377691d200d69df8398f90cc2ff.tar.bz2
ft_printf-6ea4606cd3f74377691d200d69df8398f90cc2ff.zip
Basic conversion parsing
Using a list to store each format conversion informations.
Diffstat (limited to 'printer.c')
-rw-r--r--printer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/printer.c b/printer.c
index 1484165..787cd0a 100644
--- a/printer.c
+++ b/printer.c
@@ -1,5 +1,5 @@
#include <unistd.h>
-#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);