We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac03b67 + 7d3ec0c commit de0a602Copy full SHA for de0a602
Zend/zend_exceptions.c
@@ -85,12 +85,12 @@ void zend_throw_exception_internal(zval *exception TSRMLS_DC) /* {{{ */
85
{
86
#ifdef HAVE_DTRACE
87
if (DTRACE_EXCEPTION_THROWN_ENABLED()) {
88
- char *classname;
89
- int name_len;
+ const char *classname;
+ zend_uint name_len;
90
91
if (exception != NULL) {
92
zend_get_object_classname(exception, &classname, &name_len TSRMLS_CC);
93
- DTRACE_EXCEPTION_THROWN(classname);
+ DTRACE_EXCEPTION_THROWN((char *)classname);
94
} else {
95
DTRACE_EXCEPTION_THROWN(NULL);
96
}
0 commit comments