summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBob Weinand <bobwei9@hotmail.com>2013-11-24 22:36:39 +0100
committerBob Weinand <bobwei9@hotmail.com>2013-11-24 22:36:39 +0100
commitcc51537e5eaa545832f0531e7cc503bbbd5afb99 (patch)
tree0dbe6c1aa903b67426397f84798e29514e418af0
parentce05e41c14c5a05187035a3b94af9c14723880d3 (diff)
downloadphp-git-cc51537e5eaa545832f0531e7cc503bbbd5afb99.tar.gz
Do not mix long and int
-rw-r--r--phpdbg_cmd.h2
-rw-r--r--phpdbg_prompt.c2
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();