Skip to content

Commit 8b7ab83

Browse files
committed
clean up build
1 parent 5e266f3 commit 8b7ab83

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpdbg_print.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ PHPDBG_PRINT(opline) /* {{{ */
3636
return SUCCESS;
3737
} /* }}} */
3838

39-
static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
39+
static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
4040
switch (method->type) {
4141
case ZEND_USER_FUNCTION: {
4242
zend_op_array* op_array = &method->op_array;
@@ -63,7 +63,7 @@ static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) {
6363

6464

6565
do {
66-
char *decode = phpdbg_decode_opcode(opline->opcode);
66+
const char *decode = phpdbg_decode_opcode(opline->opcode);
6767
if (decode != NULL) {
6868
phpdbg_writeln(
6969
"\t\t#%lu\t%p %s", opline->lineno, opline, decode);

0 commit comments

Comments
 (0)