Skip to content

Commit

Permalink
fix: Inverse memcpy destination and source arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
quantumsheep committed Jul 20, 2020
1 parent 57095fc commit e5789c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion std/memory.sn
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

0 comments on commit e5789c6

Please sign in to comment.