summaryrefslogtreecommitdiffstats
path: root/libft/src/ft_isalnum.c
diff options
context:
space:
mode:
Diffstat (limited to 'libft/src/ft_isalnum.c')
-rw-r--r--libft/src/ft_isalnum.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libft/src/ft_isalnum.c b/libft/src/ft_isalnum.c
index e764ac6..fca042d 100644
--- a/libft/src/ft_isalnum.c
+++ b/libft/src/ft_isalnum.c
@@ -12,10 +12,10 @@
#include <libft.h>
-int
+t_bool
ft_isalnum(int c)
{
if (ft_isalpha(c) || ft_isdigit(c))
- return (1);
- return (0);
+ return (TRUE);
+ return (FALSE);
}