From 681b0216a5b64853a3df131100c40e17d3666856 Mon Sep 17 00:00:00 2001 From: Benjamin Bouvier Date: Mon, 14 Apr 2014 17:03:11 +0200 Subject: [PATCH] Bug 979867: Kill mixed sign comparison warning; r=lth --HG-- extra : rebase_source : 91d3898d7716b3bfb36d20503d8d14b32b85152c --- js/src/vm/SelfHosting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/src/vm/SelfHosting.cpp b/js/src/vm/SelfHosting.cpp index dcd54d0d1e0c..c9f6adb9237d 100644 --- a/js/src/vm/SelfHosting.cpp +++ b/js/src/vm/SelfHosting.cpp @@ -425,7 +425,7 @@ js::intrinsic_UnsafePutElements(JSContext *cx, unsigned argc, Value *vp) if (arrobj->is() || arrobj->is()) { JS_ASSERT(!arrobj->is() || idx < arrobj->as().length()); - JS_ASSERT(!arrobj->is() || idx < arrobj->as().length()); + JS_ASSERT(!arrobj->is() || idx < uint32_t(arrobj->as().length())); RootedValue tmp(cx, args[elemi]); // XXX: Always non-strict. if (!JSObject::setElement(cx, arrobj, arrobj, idx, &tmp, false))