summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_atoi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_atoi.c')
-rw-r--r--libft/src/ft_atoi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libft/src/ft_atoi.c b/libft/src/ft_atoi.c
index 3640578..e0178db 100644
--- a/libft/src/ft_atoi.c
+++ b/libft/src/ft_atoi.c
@@ -25,7 +25,7 @@ static int8_t ft_setsign(const char c)
return (sign);
}
-static uint8_t ft_seti(const char str[])
+static uint8_t ft_seti(const char *str)
{
uint8_t i;
@@ -37,7 +37,7 @@ static uint8_t ft_seti(const char str[])
return (i);
}
-int ft_atoi(const char str[])
+int ft_atoi(const char *str)
{
uint8_t i;
int8_t sign;