fix: editing the type of stdint

- u_int64_t is now only uint64_t
This commit is contained in:
Raphael 2025-09-19 16:54:40 +02:00
parent facbd72540
commit 3295958025
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -26,8 +26,8 @@ typedef struct s_format
} t_format; } t_format;
size_t ft_strlen(const char *str); size_t ft_strlen(const char *str);
void ft_putnbr_base(int fd, u_int64_t nbr, char *base, int *to_ret); void ft_putnbr_base(int fd, uint64_t nbr, char *base, int *to_ret);
char *itoa_base(u_int64_t nbr, char *base); char *itoa_base(uint64_t nbr, char *base);
int flag_c(va_list args, int fd); int flag_c(va_list args, int fd);
int ft_dprintf(int fd, const char *s, ...); int ft_dprintf(int fd, const char *s, ...);
int ft_printf(const char *s, ...); int ft_printf(const char *s, ...);

View file

@ -20,7 +20,7 @@ int flag_p(va_list args, int fd)
{ {
char *to_print; char *to_print;
int to_ret; int to_ret;
u_int64_t number; uint64_t number;
number = va_arg(args, unsigned long long); number = va_arg(args, unsigned long long);
to_ret = 0; to_ret = 0;