diff --git a/ft_isnum.c b/ft_isnum.c index 15e96e7..29a05f0 100644 --- a/ft_isnum.c +++ b/ft_isnum.c @@ -6,7 +6,7 @@ /* By: cchauvet INT_MAX || INT_MIN > i * sign) return (0); if (!(*str >= '0' && *str <= '9')) return (0); - i = i * 10 + *str - '0'; str++; } return (1);