From 07e75b9b70b924d6200c2c4418fc137d6fc2ba17 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 29 Apr 2019 11:18:40 +0200 Subject: [PATCH] [-Wincompatible-pointer-types] --- php_uv.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/php_uv.c b/php_uv.c index 509caf2..c7fd751 100644 --- a/php_uv.c +++ b/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 } }