mirror of
https://github.com/php/php-src.git
synced 2026-03-30 04:02:19 +02:00
fix windows build
This commit is contained in:
@@ -151,7 +151,7 @@ PHPDBG_INFO(literal) /* {{{ */
|
||||
{
|
||||
if ((EG(in_execution) && EG(active_op_array)) || PHPDBG_G(ops)) {
|
||||
zend_op_array *ops = EG(active_op_array) ? EG(active_op_array) : PHPDBG_G(ops);
|
||||
zend_uint literal =0, count = ops->last_literal-1;
|
||||
int literal =0, count = ops->last_literal-1;
|
||||
|
||||
if (ops->function_name) {
|
||||
if (ops->scope) {
|
||||
|
||||
@@ -27,7 +27,7 @@ ZEND_EXTERN_MODULE_GLOBALS(phpdbg);
|
||||
|
||||
static inline zend_uint phpdbg_decode_literal(zend_op_array *ops, zend_literal *literal TSRMLS_DC) /* {{{ */
|
||||
{
|
||||
zend_uint iter = 0;
|
||||
int iter = 0;
|
||||
|
||||
while (iter < ops->last_literal) {
|
||||
if (literal == &ops->literals[iter]) {
|
||||
|
||||
@@ -1094,10 +1094,11 @@ static inline int phpdbg_call_register(phpdbg_input_t *input TSRMLS_DC) /* {{{ *
|
||||
int phpdbg_interactive(TSRMLS_D) /* {{{ */
|
||||
{
|
||||
int ret = SUCCESS;
|
||||
|
||||
phpdbg_input_t *input;
|
||||
|
||||
PHPDBG_G(flags) |= PHPDBG_IS_INTERACTIVE;
|
||||
|
||||
phpdbg_input_t *input = phpdbg_read_input(NULL TSRMLS_CC);
|
||||
input = phpdbg_read_input(NULL TSRMLS_CC);
|
||||
|
||||
if (input && input->length > 0L) {
|
||||
do {
|
||||
|
||||
Reference in New Issue
Block a user