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_ischarset.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libft/src/ft_ischarset.c') diff --git a/libft/src/ft_ischarset.c b/libft/src/ft_ischarset.c index 95b9172..eb57d87 100644 --- a/libft/src/ft_ischarset.c +++ b/libft/src/ft_ischarset.c @@ -14,7 +14,7 @@ #include #include -uint8_t +t_bool ft_ischarset(const char *charset, int c) { size_t i; @@ -23,8 +23,8 @@ uint8_t while (charset[i]) { if (charset[i] == c) - return (1); + return (TRUE); i++; } - return (0); + return (FALSE); } -- cgit v1.2.3