From 0917c754f99bbd80d638e6aa30e95cd5d5d5ed99 Mon Sep 17 00:00:00 2001 From: Bob Weinand Date: Fri, 22 Nov 2013 19:24:27 +0100 Subject: [PATCH] Shut up, compiler! --- phpdbg_prompt.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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); -- 2.50.1