]> granicus.if.org Git - php/commitdiff
fix windows build
authorkrakjoe <joe.watkins@live.co.uk>
Fri, 22 Nov 2013 20:42:57 +0000 (20:42 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Fri, 22 Nov 2013 20:42:57 +0000 (20:42 +0000)
phpdbg_info.c
phpdbg_opcode.c
phpdbg_prompt.c

index 4b98267ab0f24653d6805824b9a53bb4c0a88916..ed63cad7142e7e9e8c4b3f9bcafff235287eab5b 100644 (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) {
index 74b0c7e0e3ff468869419586ded2efd15a1f2821..d01f08c229770c37f16ab07577c6127eb037b2ba 100644 (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]) {
index 98c79cf3617188e60d5323d9ae4dae12ecd5028e..53c6bb2ad3902b741eb8acdeadff905549af6663 100644 (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 {