From: krakjoe Date: Wed, 13 Nov 2013 08:11:23 +0000 (+0000) Subject: clean up build X-Git-Tag: php-5.6.0alpha1~110^2~387 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8b7ab830146e5b0eb40f3c310e1abe374db453c6;p=php clean up build --- diff --git a/phpdbg_print.c b/phpdbg_print.c index 600d8f2795..f337de043d 100644 --- a/phpdbg_print.c +++ b/phpdbg_print.c @@ -36,7 +36,7 @@ PHPDBG_PRINT(opline) /* {{{ */ return SUCCESS; } /* }}} */ -static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { +static inline void phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { switch (method->type) { case ZEND_USER_FUNCTION: { zend_op_array* op_array = &method->op_array; @@ -63,7 +63,7 @@ static inline phpdbg_print_function_helper(zend_function *method TSRMLS_DC) { do { - char *decode = phpdbg_decode_opcode(opline->opcode); + const char *decode = phpdbg_decode_opcode(opline->opcode); if (decode != NULL) { phpdbg_writeln( "\t\t#%lu\t%p %s", opline->lineno, opline, decode);