Bug 685468 - warnaserr: js/src/jsinterp.cpp(6176) : warning C4805: '&=' : unsafe mix of type 'JSBool' and type 'bool' in operation. r=luke

This commit is contained in:
Makoto Kato 2011-09-13 18:08:17 +09:00
parent e199440602
commit 77be5533a6

View File

@ -6173,7 +6173,7 @@ END_CASE(JSOP_ARRAYPUSH)
* When a trap handler returns JSTRAP_RETURN, we jump here with
* interpReturnOK set to true bypassing any finally blocks.
*/
interpReturnOK &= UnwindScope(cx, 0, interpReturnOK || cx->isExceptionPending());
interpReturnOK &= (JSBool)UnwindScope(cx, 0, interpReturnOK || cx->isExceptionPending());
JS_ASSERT(regs.sp == regs.fp()->base());
if (entryFrame != regs.fp())