This commit is contained in:
Loic Deridder
2025-01-15 13:41:40 +01:00
parent eedfe4a0ee
commit 0ec78ee34c
11 changed files with 182 additions and 48 deletions

View File

@@ -52,7 +52,7 @@ int ft_atoi(const char *str)
int current_digit;
if (!str)
return (-1);
return (0);
res = 0;
i = 0;
while (ft_isspace(str[i]))