diff options
| author | Charles <sircharlesaze@gmail.com> | 2020-01-17 10:56:16 +0100 |
|---|---|---|
| committer | Charles <sircharlesaze@gmail.com> | 2020-01-17 10:56:16 +0100 |
| commit | fe37597119353ce183fc404417b81bd4702f64b7 (patch) | |
| tree | faa20a8352092c062e2fd272fff2104d9f2ddb3f /src/mem/ft_memcmp.c | |
| parent | 2e5ca2ab6276b7b24895ade28e1533356ef523dc (diff) | |
| download | libft-fe37597119353ce183fc404417b81bd4702f64b7.tar.gz libft-fe37597119353ce183fc404417b81bd4702f64b7.tar.bz2 libft-fe37597119353ce183fc404417b81bd4702f64b7.zip | |
Splited include like src/, Adding feature toggle protection in header
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; |
