mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Fix warning about signed/unsigned comparison.
This commit is contained in:
parent
ee5f8e441f
commit
80088cd777
@ -578,7 +578,7 @@ nativeStackSlots(JSContext *cx, unsigned callDepth)
|
||||
#endif
|
||||
for (;;) {
|
||||
unsigned operands = fp->regs->sp - StackBase(fp);
|
||||
JS_ASSERT(operands <= fp->script->nslots - fp->script->nfixed);
|
||||
JS_ASSERT(operands <= unsigned(fp->script->nslots - fp->script->nfixed));
|
||||
slots += operands;
|
||||
if (fp->callee)
|
||||
slots += fp->script->nfixed;
|
||||
|
Loading…
Reference in New Issue
Block a user