com php-src: Shut up, compiler!: phpdbg_prompt.c
| From: | Bob Weinand | Date: | Fri, 22 Nov 2013 18:24:27 +0000 |
| Subject: | com php-src: Shut up, compiler!: phpdbg_prompt.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-74707@lists.php.net to get a copy of this message | ||
Commit: 0917c754f99bbd80d638e6aa30e95cd5d5d5ed99
Author: Bob Weinand <bobwei9@hotmail.com> Fri, 22 Nov 2013 19:24:27 +0100
Parents: 202c1cee3971279c589f4cd01772bf720bcfc05d
Branches: PHP-5.6
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=0917c754f99bbd80d638e6aa30e95cd5d5d5ed99
Log:
Shut up, compiler!
Changed paths:
M phpdbg_prompt.c
Diff:
diff --git a/phpdbg_prompt.c b/phpdbg_prompt.c
index a5dca20..d73a13a 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);