Skip to content

Commit 047a39c

Browse files
committed
some more after merge fixes
1 parent e88c8cb commit 047a39c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

sapi/phpdbg/phpdbg_frame.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ void phpdbg_dump_backtrace(size_t num TSRMLS_DC) /* {{{ */
186186

187187
if (zend_hash_get_current_data_ex(Z_ARRVAL(zbacktrace),
188188
(void**)&tmp, &position) == FAILURE) {
189-
phpdbg_write("frame #%d: {main} at %s:%pd", i, Z_STRVAL_PP(file), Z_LVAL_PP(line));
189+
phpdbg_write("frame #%d: {main} at %s:%pd", i, Z_STRVAL_PP(file), Z_IVAL_PP(line));
190190
break;
191191
}
192192

sapi/phpdbg/phpdbg_prompt.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ static inline int phpdbg_call_register(phpdbg_param_t *stack TSRMLS_DC) /* {{{ *
120120
break;
121121

122122
case NUMERIC_PARAM:
123-
add_next_index_long(&params, next->num);
123+
add_next_index_int(&params, next->num);
124124
break;
125125

126126
case METHOD_PARAM:

0 commit comments

Comments
 (0)