Fix C ptr type conversion
@@ -55,7 +55,7 @@ static zend_always_inline bool swow_function_is_named(const zend_function *funct
static zend_always_inline const char *swow_function_get_namespace_name(const zend_function *function, size_t *length)
{
zend_string *name = function->common.function_name;
- const char *backslash = zend_memrchr(ZSTR_VAL(name), '\\', ZSTR_LEN(name));
+ const char *backslash = (const char *) zend_memrchr(ZSTR_VAL(name), '\\', ZSTR_LEN(name));
if (backslash && backslash > ZSTR_VAL(name)) {
*length = backslash - ZSTR_VAL(name);
return ZSTR_VAL(name);
