From cc51537e5eaa545832f0531e7cc503bbbd5afb99 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Sun, 24 Nov 2013 22:36:39 +0100 Subject: [PATCH] Do not mix long and int --- phpdbg_cmd.h | 2 +- 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(); -- 2.50.1