From cfaf9947227065ce40661544dff9b3554ff5aca2 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Mon, 17 Aug 2020 17:22:24 +0200 Subject: Set libft/ft_is* to type t_bool --- libft/src/ft_isalnum.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libft/src/ft_isalnum.c') 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 -int +t_bool ft_isalnum(int c) { if (ft_isalpha(c) || ft_isdigit(c)) - return (1); - return (0); + return (TRUE); + return (FALSE); } -- cgit v1.2.3