Fix Array.Shuffle() on String, Long and Object arrays.
[INTERPRETER] * BUG: Fix Array.Shuffle() on String, Long and Object arrays.
This commit is contained in:
parent
a6eb422756
commit
2bb7d795b7
1 changed files with 3 additions and 3 deletions
|
@ -823,9 +823,9 @@ BEGIN_METHOD_VOID(Array_Shuffle)
|
|||
|
||||
__SWAP_LONG:
|
||||
{
|
||||
int64_t t = *(char *)p1;
|
||||
*(char *)p1 = *(char *)p2;
|
||||
*(char *)p2 = t;
|
||||
int64_t t = *(int64_t *)p1;
|
||||
*(int64_t *)p1 = *(int64_t *)p2;
|
||||
*(int64_t *)p2 = t;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue