diff options
| author | Charles <sircharlesaze@gmail.com> | 2019-10-12 10:43:01 +0200 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2019-10-12 11:48:54 +0200 |
| commit | 6ea4606cd3f74377691d200d69df8398f90cc2ff (patch) | |
| tree | f354459b9054f5bd23a7508c12ef1589af38e75a /printer.c | |
| parent | bddc2d153a4c47257740a0bf0651513058a612d5 (diff) | |
| download | ft_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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
