From 329595802593a33ba1e82493492e92a6e0f5bb73 Mon Sep 17 00:00:00 2001 From: Raphael Date: Fri, 19 Sep 2025 16:54:40 +0200 Subject: [PATCH] fix: editing the type of stdint - u_int64_t is now only uint64_t --- includes/ft_printf.h | 4 ++-- sources/print_number.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/ft_printf.h b/includes/ft_printf.h index 81874d6..6fbcacc 100644 --- a/includes/ft_printf.h +++ b/includes/ft_printf.h @@ -26,8 +26,8 @@ typedef struct s_format } t_format; size_t ft_strlen(const char *str); -void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret); -char *itoa_base(u_int64_t nbr, char *base); +void ft_putnbr_base(int fd, uint64_t nbr, char *base, int *to_ret); +char *itoa_base(uint64_t nbr, char *base); int flag_c(va_list args, int fd); int ft_dprintf(int fd, const char *s, ...); int ft_printf(const char *s, ...); diff --git a/sources/print_number.c b/sources/print_number.c index 539f346..a1a19a5 100644 --- a/sources/print_number.c +++ b/sources/print_number.c @@ -20,7 +20,7 @@ int flag_p(va_list args, int fd) { char *to_print; int to_ret; - u_int64_t number; + uint64_t number; number = va_arg(args, unsigned long long); to_ret = 0;