summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_uitoa.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--libft/src/ft_uitoa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/ft_uitoa.c b/libft/src/ft_uitoa.c
index a9d76c4..9a58b32 100644
--- a/libft/src/ft_uitoa.c
+++ b/libft/src/ft_uitoa.c
@@ -11,14 +11,13 @@
/* ************************************************************************** */
#include <libft.h>
-#include <inttypes.h>
#include <stdlib.h>
char *ft_uitoa(unsigned long n)
{
char *s;
unsigned long nb;
- uint8_t i;
+ unsigned char i;
i = ft_uintlen(n) - 1;
if (!(s = (char*)malloc((i + 2) * sizeof(char))))