1
0
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:
krakjoe
2013-11-22 20:42:57 +00:00
parent 6bf06ac0ba
commit 94ecb5a75f
3 changed files with 5 additions and 4 deletions

View File

@@ -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) {

View File

@@ -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]) {

View File

@@ -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 {