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_memcpy.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mem/ft_memcpy.c') diff --git a/src/mem/ft_memcpy.c b/src/mem/ft_memcpy.c index ca679fc..d0ef008 100644 --- a/src/mem/ft_memcpy.c +++ b/src/mem/ft_memcpy.c @@ -6,7 +6,7 @@ /* By: cacharle +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/10/07 10:00:07 by cacharle #+# #+# */ -/* Updated: 2019/11/21 18:04:36 by cacharle ### ########.fr */ +/* Updated: 2020/01/17 10:39:04 by cacharle ### ########.fr */ /* */ /* ************************************************************************** */ @@ -22,7 +22,7 @@ void *ft_memcpy(void *dest, const void *src, size_t n) while (n % 8 > 0) { n--; - ((t_byte*)dest)[n] = ((t_byte*)src)[n]; + ((t_ftbyte*)dest)[n] = ((t_ftbyte*)src)[n]; } long_dest = dest; long_src = src; -- cgit