diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 18:54:03 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-29 18:54:03 +0200 |
commit | dc7255fdb45587ddd90db87e3c3b971ebd8edef0 (patch) | |
tree | ffda6630195437ea771065d6d42f5fc84b35eea5 /libft/src/ft_atoi.c | |
parent | Atoi update (diff) | |
download | 42-minishell-dc7255fdb45587ddd90db87e3c3b971ebd8edef0.tar.gz 42-minishell-dc7255fdb45587ddd90db87e3c3b971ebd8edef0.tar.bz2 42-minishell-dc7255fdb45587ddd90db87e3c3b971ebd8edef0.tar.xz 42-minishell-dc7255fdb45587ddd90db87e3c3b971ebd8edef0.tar.zst 42-minishell-dc7255fdb45587ddd90db87e3c3b971ebd8edef0.zip |
Some updates
Diffstat (limited to '')
-rw-r--r-- | libft/src/ft_atoi.c | 4 |
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; |