mirror of
https://github.com/danog/ext-uv.git
synced 2024-11-26 20:14:47 +01:00
[-Wincompatible-pointer-types]
This commit is contained in:
parent
9d25abb408
commit
07e75b9b70
4
php_uv.c
4
php_uv.c
@ -2432,7 +2432,11 @@ int php_uv_cast_object(zval *readobj_zv, zval *writeobj, int type) {
|
||||
ZVAL_LONG(writeobj, readobj->handle);
|
||||
return SUCCESS;
|
||||
} else {
|
||||
#if PHP_VERSION_ID >= 80000
|
||||
return zend_std_cast_object_tostring(readobj, writeobj, type);
|
||||
#else
|
||||
return zend_std_cast_object_tostring(readobj_zv, writeobj, type);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user