diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-10-27 19:59:20 +0100 |
commit | c5aae008dee36276154882d8fd56c3bdeb473474 (patch) | |
tree | a40740914847ebf39a5f8cb3acf6a48c8b9d61ef /libft/src/ft_printf_put_int.c | |
parent | TODO update (diff) | |
download | 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.gz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.bz2 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.xz 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.tar.zst 42-minishell-c5aae008dee36276154882d8fd56c3bdeb473474.zip |
Now norme
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_printf_put_int.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libft/src/ft_printf_put_int.c b/libft/src/ft_printf_put_int.c index 774fe71..c40c669 100644 --- a/libft/src/ft_printf_put_int.c +++ b/libft/src/ft_printf_put_int.c @@ -14,9 +14,8 @@ #include <stddef.h> #include <stdlib.h> #include <stdarg.h> -#include <inttypes.h> -static long ft_printf_get_dlh(va_list arg, int8_t lh) +static long ft_printf_get_dlh(va_list arg, char lh) { if (lh == 0) return (va_arg(arg, int)); @@ -31,7 +30,7 @@ static long ft_printf_get_dlh(va_list arg, int8_t lh) return (va_arg(arg, int)); } -static unsigned long ft_printf_get_ulh(va_list arg, int8_t lh, uint8_t zflag) +static unsigned long ft_printf_get_ulh(va_list arg, char lh, unsigned char zflag) { if (zflag == 1) return (va_arg(arg, size_t)); |