mirror of
https://github.com/guezoloic/libft.git
synced 2026-01-25 01:34:15 +00:00
fix: const char -> int, first parameter
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#include "libft.h"
|
||||
|
||||
int ft_isalpha(const char c)
|
||||
int ft_isalpha(int c)
|
||||
{
|
||||
return ((c >= 'a' && c <= 'z')
|
||||
|| (c >= 'A' && c <= 'Z'));
|
||||
|
||||
Reference in New Issue
Block a user