]> granicus.if.org Git - php/commitdiff
clean up build
authorkrakjoe <joe.watkins@live.co.uk>
Wed, 13 Nov 2013 08:11:23 +0000 (08:11 +0000)
committerkrakjoe <joe.watkins@live.co.uk>
Wed, 13 Nov 2013 08:11:23 +0000 (08:11 +0000)
phpdbg_print.c

index 600d8f2795c35d0483136277a7d99e6453791d3d..f337de043da45d4f0577d1a8e33a7aa11f4b596a 100644 (file)
@@ -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);