From c977ca6f7097f1b74378a6ca27dec72e3b6d57d7 Mon Sep 17 00:00:00 2001 From: "brendan%mozilla.org" Date: Mon, 20 Nov 2006 19:49:28 +0000 Subject: [PATCH] Warning fix. git-svn-id: svn://10.0.0.236/trunk@215489 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/js/src/jsinterp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mozilla/js/src/jsinterp.c b/mozilla/js/src/jsinterp.c index 4ff5f4f266a..f65f1ec8047 100644 --- a/mozilla/js/src/jsinterp.c +++ b/mozilla/js/src/jsinterp.c @@ -5320,7 +5320,7 @@ interrupt: for (obj = fp->blockChain; obj; obj = OBJ_GET_PARENT(cx, obj)) { JS_ASSERT(OBJ_GET_CLASS(cx, obj) == &js_BlockClass); - if (OBJ_BLOCK_DEPTH(cx, obj) + OBJ_BLOCK_COUNT(cx, obj) <= i) { + if (OBJ_BLOCK_DEPTH(cx, obj) + (jsint)OBJ_BLOCK_COUNT(cx, obj) <= i) { JS_ASSERT(OBJ_BLOCK_DEPTH(cx, obj) < i || OBJ_BLOCK_COUNT(cx, obj) == 0); break; }