fix: const char -> int, first parameter

This commit is contained in:
2025-09-29 19:54:07 +02:00
parent 838baa28f4
commit 68e6c61de9

View File

@@ -1,6 +1,6 @@
#include "libft.h" #include "libft.h"
int ft_isalpha(const char c) int ft_isalpha(int c)
{ {
return ((c >= 'a' && c <= 'z') return ((c >= 'a' && c <= 'z')
|| (c >= 'A' && c <= 'Z')); || (c >= 'A' && c <= 'Z'));