mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 08:10:50 +01:00
[tree] Fix memove32
This commit is contained in:
@@ -23,7 +23,8 @@ TreeNode * TreePool::node(int identifier) const {
|
||||
}
|
||||
|
||||
static void memmove32(uint32_t * dst, uint32_t * src, size_t len) {
|
||||
if (dst > src) {
|
||||
if (src < dst && dst < src + len) {
|
||||
/* Copy backwards to avoid overwrites */
|
||||
src += len;
|
||||
dst += len;
|
||||
while (len--) {
|
||||
|
||||
Reference in New Issue
Block a user