mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 09:34:16 +00:00
fix: const char -> int, first parameter
This commit is contained in:
@@ -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'));
|
||||||
|
|||||||
Reference in New Issue
Block a user