summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwolfbeast <mcwerewolf@wolfbeast.com>2019-07-08 02:17:07 +0200
committerwolfbeast <mcwerewolf@wolfbeast.com>2019-07-08 02:17:07 +0200
commit20e3587ef5a97f190da7a4e674e988d7189c795c (patch)
tree1714ace738c0405584a607915e958fe887a54228
parentf168c25c0a58281213f49e5ab72e43cc1a192795 (diff)
downloadUXP-20e3587ef5a97f190da7a4e674e988d7189c795c.tar
UXP-20e3587ef5a97f190da7a4e674e988d7189c795c.tar.gz
UXP-20e3587ef5a97f190da7a4e674e988d7189c795c.tar.lz
UXP-20e3587ef5a97f190da7a4e674e988d7189c795c.tar.xz
UXP-20e3587ef5a97f190da7a4e674e988d7189c795c.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