From 41ed119416d9e2f322372bce8e0ffa3c9637b033 Mon Sep 17 00:00:00 2001 From: Leonardo Algarra Date: Sat, 4 Oct 2025 19:10:06 +0200 Subject: [PATCH] =?UTF-8?q?Correcci=C3=B3n=20test=20ft=5Fmemcpy()?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ft_memcpy_test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ft_memcpy_test.c b/ft_memcpy_test.c index 7320723..e04d694 100644 --- a/ft_memcpy_test.c +++ b/ft_memcpy_test.c @@ -6,7 +6,7 @@ /* By: lalgarra +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2025/10/03 18:27:44 by lalgarra #+# #+# */ -/* Updated: 2025/10/04 19:06:34 by lalgarra ### ########.fr */ +/* Updated: 2025/10/04 19:09:27 by lalgarra ### ########.fr */ /* */ /* ************************************************************************** */ @@ -19,7 +19,7 @@ void do_test1(char *dest, char *src, size_t n) void *res; printf("src: \"%s\", n=%lu, dest: \"%s\";", src, n, dest); - res = memcpy(dest, src, n); + res = ft_memcpy(dest, src, n); printf(" after call, dest: \"%s\";", dest); printf(" (res == dest): %i\n", res == (void *)dest); }