From: Bob Weinand Date: Fri, 22 Nov 2013 18:24:27 +0000 (+0100) Subject: Shut up, compiler! X-Git-Tag: php-5.6.0alpha1~110^2~141 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0917c754f99bbd80d638e6aa30e95cd5d5d5ed99;p=php Shut up, compiler! --- diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c index a5dca20113..d73a13ab67 100644 --- a/phpdbg_prompt.c +++ b/phpdbg_prompt.c @@ -385,6 +385,8 @@ PHPDBG_COMMAND(frame) /* {{{ */ phpdbg_default_switch_case(); } + + return SUCCESS; } /* }}} */ static inline void phpdbg_handle_exception(TSRMLS_D) /* }}} */ @@ -572,7 +574,7 @@ PHPDBG_COMMAND(back) /* {{{ */ if ((is_class = zend_hash_find(Z_ARRVAL_PP(tmp), "object", sizeof("object"), (void **)&class)) == FAILURE) { is_class = zend_hash_find(Z_ARRVAL_PP(tmp), "class", sizeof("class"), (void **)&class); } else { - zend_get_object_classname(class, &Z_STRVAL_PP(class), &Z_STRLEN_PP(class) TSRMLS_CC); + zend_get_object_classname(*class, (const char **)&Z_STRVAL_PP(class), (zend_uint *)&Z_STRLEN_PP(class) TSRMLS_CC); } if (is_class) { zend_hash_find(Z_ARRVAL_PP(tmp), "type", sizeof("type"), (void **)&type);