summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_uintlen_base.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-10-27 19:59:20 +0100
commitc5aae008dee36276154882d8fd56c3bdeb473474 (patch)
treea40740914847ebf39a5f8cb3acf6a48c8b9d61ef /libft/src/ft_uintlen_base.c
parentTODO update (diff)
download42-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 'libft/src/ft_uintlen_base.c')
-rw-r--r--libft/src/ft_uintlen_base.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/libft/src/ft_uintlen_base.c b/libft/src/ft_uintlen_base.c
index a695c3f..2afcb2e 100644
--- a/libft/src/ft_uintlen_base.c
+++ b/libft/src/ft_uintlen_base.c
@@ -11,12 +11,11 @@
/* ************************************************************************** */
#include <libft.h>
-#include <inttypes.h>
-uint8_t ft_uintlen_base(unsigned long n, char *base)
+unsigned char ft_uintlen_base(unsigned long n, char *base)
{
- uint8_t len;
- uint8_t size;
+ unsigned char len;
+ unsigned char size;
size = ft_strlen(base);
len = 0;