From e5789c634b1815b63cf7c185a0c84ec66ce0d45e Mon Sep 17 00:00:00 2001 From: quantumsheep Date: Mon, 20 Jul 2020 02:17:52 +0200 Subject: [PATCH] fix: Inverse memcpy destination and source arguments --- std/memory.sn | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/std/memory.sn b/std/memory.sn index 01e3336..acacae7 100644 --- a/std/memory.sn +++ b/std/memory.sn @@ -84,6 +84,6 @@ namespace std { } } -fn memcpy(source: void*, destination: void*, length: u64) : void* { +fn memcpy(destination: void*, source: void*, length: u64) : void* { return std::memory::copy(source, destination, length); }