com php-src: Fixed incompatible pointer: ext/phar/util.c
| From: | Xinchen Hui | Date: | Tue, 26 Aug 2014 04:12:39 +0000 |
| Subject: | com php-src: Fixed incompatible pointer: ext/phar/util.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81110@lists.php.net to get a copy of this message | ||
Commit: 80dd7646127ce00e86af8f6638ab45706495d117
Author: Xinchen Hui <laruence@php.net> Tue, 26 Aug 2014 12:12:39 +0800
Parents: df7b6779bc52c2692cbe2ab86fb4d4df2c5b80a2
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=80dd7646127ce00e86af8f6638ab45706495d117
Log:
Fixed incompatible pointer
Changed paths:
M ext/phar/util.c
Diff:
diff --git a/ext/phar/util.c b/ext/phar/util.c
index e550b9f..f131aa9 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;