diff options
Diffstat (limited to 'src/mem/ft_memcmp.c')
| -rw-r--r-- | src/mem/ft_memcmp.c | 12 |
1 files changed, 6 insertions, 6 deletions
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 <marvin@42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* 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; |
