Do not mix long and int

This commit is contained in:
Bob Weinand 2013-11-24 22:36:39 +01:00
parent ce05e41c14
commit cc51537e5e
2 changed files with 2 additions and 2 deletions

View File

@ -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;
/* }}} */

View File

@ -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();