aboutsummaryrefslogtreecommitdiff
path: root/src/ctype
diff options
context:
space:
mode:
Diffstat (limited to 'src/ctype')
-rw-r--r--src/ctype/ft_isascii.c4
-rw-r--r--src/ctype/ft_todigit.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/ctype/ft_isascii.c b/src/ctype/ft_isascii.c
index 376ee54..12b6849 100644
--- a/src/ctype/ft_isascii.c
+++ b/src/ctype/ft_isascii.c
@@ -6,11 +6,11 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/10/07 09:54:30 by cacharle #+# #+# */
-/* Updated: 2020/02/10 02:14:40 by cacharle ### ########.fr */
+/* Updated: 2020/02/12 23:01:02 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */
int ft_isascii(int c)
{
- return (c >= 0 && c <= 255);
+ return (c >= 00 && c <= 0177);
}
diff --git a/src/ctype/ft_todigit.c b/src/ctype/ft_todigit.c
index bfa7f99..f201470 100644
--- a/src/ctype/ft_todigit.c
+++ b/src/ctype/ft_todigit.c
@@ -6,7 +6,7 @@
/* By: cacharle <marvin@42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2020/01/15 10:37:57 by cacharle #+# #+# */
-/* Updated: 2020/01/15 10:38:46 by cacharle ### ########.fr */
+/* Updated: 2020/02/12 23:11:55 by cacharle ### ########.fr */
/* */
/* ************************************************************************** */