summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2014-08-26 12:12:39 +0800
committerXinchen Hui <laruence@php.net>2014-08-26 12:12:39 +0800
commit80dd7646127ce00e86af8f6638ab45706495d117 (patch)
tree0889428ccb782b58d7799166989e030450c94dd6 /ext
parentdf7b6779bc52c2692cbe2ab86fb4d4df2c5b80a2 (diff)
downloadphp-git-80dd7646127ce00e86af8f6638ab45706495d117.tar.gz
Fixed incompatible pointer
Diffstat (limited to 'ext')
-rw-r--r--ext/phar/util.c2
1 files changed, 1 insertions, 1 deletions
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;