summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-07-08 02:17:07 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-22 12:07:39 +0200
commitcd964d099ff9da58c05617beee81ac3364098679 (patch)
treee434d3a2cd732ebd436215492926336eed735224
parent12dade5e7d516c37c1b94e5bebfc660346598b3a (diff)
downloadUXP-cd964d099ff9da58c05617beee81ac3364098679.tar
UXP-cd964d099ff9da58c05617beee81ac3364098679.tar.gz
UXP-cd964d099ff9da58c05617beee81ac3364098679.tar.lz
UXP-cd964d099ff9da58c05617beee81ac3364098679.tar.xz
UXP-cd964d099ff9da58c05617beee81ac3364098679.zip
Avoid type confusion in ArrayJoinDenseKernel
-rw-r--r--js/src/jsarray.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/src/jsarray.cpp b/js/src/jsarray.cpp
index ec65bce64..ff581beec 100644
--- a/js/src/jsarray.cpp
+++ b/js/src/jsarray.cpp
@@ -1048,7 +1048,7 @@ struct StringSeparatorOp
template <typename SeparatorOp>
static bool
-ArrayJoinDenseKernel(JSContext* cx, SeparatorOp sepOp, HandleNativeObject obj, uint64_t length,
+ArrayJoinDenseKernel(JSContext* cx, SeparatorOp sepOp, HandleNativeObject obj, uint32_t length,
StringBuffer& sb, uint32_t* numProcessed)
{
// This loop handles all elements up to initializedLength. If