diff options
Diffstat (limited to 'libft/src/ft_memlchr.c')
-rw-r--r-- | libft/src/ft_memlchr.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libft/src/ft_memlchr.c b/libft/src/ft_memlchr.c index 643affc..b160ca5 100644 --- a/libft/src/ft_memlchr.c +++ b/libft/src/ft_memlchr.c @@ -13,8 +13,7 @@ #include <libft.h> #include <stddef.h> -long - ft_memlchr(const void *s, int c, size_t n) +long ft_memlchr(const void *s, int c, size_t n) { const size_t len = ft_strlen((const char *)s); const size_t rem = ft_strlen((const char *)ft_memchr(s, c, n)); |