diff options
-rw-r--r-- | phpdbg_cmd.h | 2 | ||||
-rw-r--r-- | phpdbg_prompt.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/phpdbg_cmd.h b/phpdbg_cmd.h index 1205437253..2c1822e32f 100644 --- a/phpdbg_cmd.h +++ b/phpdbg_cmd.h @@ -87,7 +87,7 @@ struct _phpdbg_command_t { #define PHPDBG_EX(v) (EG(current_execute_data)->v) typedef struct { - long num; + int num; zend_execute_data *execute_data; } phpdbg_frame_t; /* }}} */ diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index 3de27f786a..b1e5aecf88 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -458,7 +458,7 @@ PHPDBG_COMMAND(frame) /* {{{ */ break; case EMPTY_PARAM: - phpdbg_notice("Currently at frame %ld:", PHPDBG_G(frame).num); + phpdbg_notice("Currently in frame #%d", PHPDBG_G(frame).num); break; phpdbg_default_switch_case(); |