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_memcmp.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/mem/ft_memcmp.c') diff --git a/src/mem/ft_memcmp.c b/src/mem/ft_memcmp.c index 2c8e179..233d796 100644 --- a/src/mem/ft_memcmp.c +++ b/src/mem/ft_memcmp.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 09:56:44 by cacharle #+# #+# */ -/* Updated: 2019/11/21 01:58:42 by cacharle ### ########.fr */ +/* Updated: 2020/01/17 10:54:15 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -14,12 +14,12 @@ int ft_memcmp(const void *s1, const void *s2, size_t n) { - size_t i; - t_byte *cast_s1; - t_byte *cast_s2; + size_t i; + t_ftbyte *cast_s1; + t_ftbyte *cast_s2; - cast_s1 = (t_byte*)s1; - cast_s2 = (t_byte*)s2; + cast_s1 = (t_ftbyte*)s1; + cast_s2 = (t_ftbyte*)s2; if (n == 0) return (0); i = -1; -- cgit