com php-src: Do not mix long and int: phpdbg_cmd.h phpdbg _prompt.c
| From: | Bob Weinand | Date: | Sun, 24 Nov 2013 21:36:39 +0000 |
| Subject: | com php-src: Do not mix long and int: phpdbg_cmd.h phpdbg _prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74607@lists.php.net to get a copy of this message | ||
Commit: cc51537e5eaa545832f0531e7cc503bbbd5afb99
Author: Bob Weinand <bobwei9@hotmail.com> Sun, 24 Nov 2013 22:36:39 +0100
Parents: ce05e41c14c5a05187035a3b94af9c14723880d3
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=cc51537e5eaa545832f0531e7cc503bbbd5afb99
Log:
Do not mix long and int
Changed paths:
M phpdbg_cmd.h
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_cmd.h b/phpdbg_cmd.h
index 1205437..2c1822e 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 3de27f7..b1e5aec 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();