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
@ -823,9 +823,9 @@ BEGIN_METHOD_VOID(Array_Shuffle)
|
|||||||
|
|
||||||
__SWAP_LONG:
|
__SWAP_LONG:
|
||||||
{
|
{
|
||||||
int64_t t = *(char *)p1;
|
int64_t t = *(int64_t *)p1;
|
||||||
*(char *)p1 = *(char *)p2;
|
*(int64_t *)p1 = *(int64_t *)p2;
|
||||||
*(char *)p2 = t;
|
*(int64_t *)p2 = t;
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user