mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 736609: fix typo, r=sfink, a=akeybl
--HG-- extra : rebase_source : 4299196454f1a078ada48328a953d571efea9a4a
This commit is contained in:
parent
ac0a01ac3b
commit
0447d76457
@ -1871,7 +1871,7 @@ class TypedArrayTemplate
|
||||
|
||||
// We have to make a copy of the source array here, since
|
||||
// there's overlap, and we have to convert types.
|
||||
void *srcbuf = cx->malloc_(getLength(tarray));
|
||||
void *srcbuf = cx->malloc_(getByteLength(tarray));
|
||||
if (!srcbuf)
|
||||
return false;
|
||||
js_memcpy(srcbuf, getDataOffset(tarray), getByteLength(tarray));
|
||||
|
Loading…
Reference in New Issue
Block a user