From fe37597119353ce183fc404417b81bd4702f64b7 Mon Sep 17 00:00:00 2001 From: Charles Date: Fri, 17 Jan 2020 10:56:16 +0100 Subject: Splited include like src/, Adding feature toggle protection in header --- src/mem/ft_memchr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/mem/ft_memchr.c') diff --git a/src/mem/ft_memchr.c b/src/mem/ft_memchr.c index d2364db..27e9028 100644 --- a/src/mem/ft_memchr.c +++ b/src/mem/ft_memchr.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:55:31 by cacharle #+# #+# */ -/* Updated: 2019/11/20 03:30:55 by cacharle ### ########.fr */ +/* Updated: 2020/01/17 10:53:57 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,10 +14,10 @@ void *ft_memchr(const void *s, int c, size_t n) { - size_t i; - t_byte *cast_s; + size_t i; + t_ftbyte *cast_s; - cast_s = (t_byte*)s; + cast_s = (t_ftbyte*)s; i = -1; while (++i < n) if (cast_s[i] == (unsigned char)c) -- cgit