]> granicus.if.org Git - php/commitdiff
Do not mix long and int
authorBob Weinand <bobwei9@hotmail.com>
Sun, 24 Nov 2013 21:36:39 +0000 (22:36 +0100)
committerBob Weinand <bobwei9@hotmail.com>
Sun, 24 Nov 2013 21:36:39 +0000 (22:36 +0100)
phpdbg_cmd.h
phpdbg_prompt.c

index 12054372539104a826adc378d9b2e4d3910c592d..2c1822e32f364644e94968f15902b6893fde088a 100644 (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;
 /* }}} */
index 3de27f786adbdb6ff162177786ec6f6f9c9789f7..b1e5aecf88a88e2827d30761467742778908d36a 100644 (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();