From: krakjoe Date: Wed, 20 Nov 2013 18:07:45 +0000 (+0000) Subject: clean build on windows X-Git-Tag: php-5.6.0alpha1~110^2~158^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0c824955c4be72600fa90246c09e753511d4d13;p=php clean build on windows --- diff --git a/phpdbg_cmd.c b/phpdbg_cmd.c index f14004fd62..a440655cb5 100644 --- a/phpdbg_cmd.c +++ b/phpdbg_cmd.c @@ -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; } /* }}} */ diff --git a/phpdbg_list.c b/phpdbg_list.c index 241983d742..30370aca5a 100644 --- a/phpdbg_list.c +++ b/phpdbg_list.c @@ -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); diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 20246cb07e..a800e46247 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -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;