From: Xinchen Hui Date: Tue, 26 Aug 2014 04:12:39 +0000 (+0800) Subject: Fixed incompatible pointer X-Git-Tag: PRE_PHP7_REMOVALS~316 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=80dd7646127ce00e86af8f6638ab45706495d117;p=php Fixed incompatible pointer --- diff --git a/ext/phar/util.c b/ext/phar/util.c index e550b9fbcf..f131aa99a2 100644 --- a/ext/phar/util.c +++ b/ext/phar/util.c @@ -2037,7 +2037,7 @@ int phar_copy_on_write(phar_archive_data **pphar TSRMLS_DC) /* {{{ */ return FAILURE; } - phar_copy_cached_phar(&Z_PTR_P(pzv) TSRMLS_CC); + phar_copy_cached_phar((phar_archive_data **)&Z_PTR_P(pzv) TSRMLS_CC); newpphar = Z_PTR_P(pzv); /* invalidate phar cache */ PHAR_G(last_phar) = NULL;