From 4cdf3c11cf14e57eb044680bffab09df3579cb80 Mon Sep 17 00:00:00 2001 From: Nik Date: Sat, 19 Nov 2022 18:02:04 +0100 Subject: [PATCH] includes/std: Fixed `copy_section_to_section` copy-paste error --- includes/std/mem.pat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/std/mem.pat b/includes/std/mem.pat index c35b009..86d10bf 100644 --- a/includes/std/mem.pat +++ b/includes/std/mem.pat @@ -63,7 +63,7 @@ namespace std::mem { }; fn copy_section_to_section(Section from_section, u64 from_address, Section to_section, u64 to_address, u64 size) { - builtin::std::mem::get_section_size(from_section, from_address, to_section, to_address, size); + builtin::std::mem::copy_to_section(from_section, from_address, to_section, to_address, size); }; fn copy_value_to_section(ref auto value, Section to_section, u64 to_address) {