]> granicus.if.org Git - php/commitdiff
clean build on windows
authorkrakjoe <joe.watkins@live.co.uk>
Wed, 20 Nov 2013 18:07:45 +0000 (18:07 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Wed, 20 Nov 2013 18:07:45 +0000 (18:07 +0000)
phpdbg_cmd.c
phpdbg_list.c
phpdbg_prompt.c

index f14004fd626b2e2f4329f81a3798ca9691968f73..a440655cb57e70ee89f2990b14fd9de543703817 100644 (file)
@@ -370,8 +370,7 @@ int phpdbg_do_cmd(const phpdbg_command_t *command, const phpdbg_input_t *input T
                phpdbg_error(
                        "No function executed !!");
        }
-       
-out:
+
        return rc;
 } /* }}} */
 
index 241983d742806dcce1c794e572bc8766b1abb8c9..30370aca5a757242788d132148e9cb576a38ea4f 100644 (file)
@@ -140,7 +140,7 @@ void phpdbg_list_file(const char *filename, long count, long offset, int highlig
        HANDLE fd, map;
 #endif
        int all_content = (count == 0);
-       unsigned int line = 0, displayed = 0;
+       int line = 0, displayed = 0;
 
        if (VCWD_STAT(filename, &st) == FAILURE) {
                phpdbg_error("Failed to stat file %s", filename);
index 20246cb07ed693c690e90fa92fdac3219b9dd7a1..a800e46247ad1bfee366f6ed1572fc7e99194725 100644 (file)
@@ -485,7 +485,7 @@ out:
 
 PHPDBG_COMMAND(eval) /* {{{ */
 {
-       zend_bool stepping = (PHPDBG_G(flags) & PHPDBG_IS_STEPPING);
+       zend_bool stepping = ((PHPDBG_G(flags) & PHPDBG_IS_STEPPING)==PHPDBG_IS_STEPPING);
        zval retval;
        char *code = NULL;