Skip to content

Commit d065cd8

Browse files
committed
Use signed comparison
1 parent 1873d35 commit d065cd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_ir_ffi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ static int zend_jit_ffi_abc(zend_jit_ctx *jit,
587587
if (!exit_addr) {
588588
return 0;
589589
}
590-
ir_GUARD(ir_ULT(jit_Z_LVAL(jit, op2_addr), ir_CONST_LONG(ffi_type->array.length)),
590+
ir_GUARD(ir_LT(jit_Z_LVAL(jit, op2_addr), ir_CONST_LONG(ffi_type->array.length)),
591591
ir_CONST_ADDR(exit_addr));
592592
}
593593
}

0 commit comments

Comments
 (0)