Fix signed vs. unsigned comparison in assertion warning.

This commit is contained in:
brendan@mozilla.org 2008-03-05 15:43:33 -08:00
parent 92c51991b0
commit 34b45d63e8

View File

@ -5100,7 +5100,7 @@ ReconstructPCStack(JSContext *cx, JSScript *script, jsbytecode *pc,
ndefs = OBJ_BLOCK_COUNT(cx, obj);
}
LOCAL_ASSERT(pcdepth + ndefs <= script->depth);
LOCAL_ASSERT((uintN)(pcdepth + ndefs) <= script->depth);
if (pcstack) {
intN i;
jsbytecode *pc2;