summaryrefslogtreecommitdiff
path: root/ext/opcache/ZendAccelerator.c
diff options
context:
space:
mode:
authorDmitry Stogov <dmitry@zend.com>2013-10-21 14:18:17 +0400
committerDmitry Stogov <dmitry@zend.com>2013-10-21 14:18:17 +0400
commit02214e7a22dbfa2f3670737b9ff9d12bf123959c (patch)
tree13eea4ded2f2f5a1e91d645d3d22a9ea3e86fbd5 /ext/opcache/ZendAccelerator.c
parent454a9fcb14c62384bd223c1d5668701061cf647f (diff)
parent60ce3811ae3b86eb7bfb86cc965e3f79e61bfc4a (diff)
downloadphp-git-02214e7a22dbfa2f3670737b9ff9d12bf123959c.tar.gz
Merge branch 'PHP-5.5'
* PHP-5.5: Fixed compilation warning
Diffstat (limited to 'ext/opcache/ZendAccelerator.c')
-rw-r--r--ext/opcache/ZendAccelerator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 00704497b4..3835d8b9ab 100644
--- a/ext/opcache/ZendAccelerator.c
+++ b/ext/opcache/ZendAccelerator.c
@@ -150,7 +150,7 @@ static inline int is_phar_relative_alias_path(const char *filename, char **alias
if (memcmp(filename, "phar://", sizeof("phar://") - 1) == 0
&& filename[sizeof("phar://") - 1] != '\0' && filename[sizeof("phar://") - 1] != '/') {
char *slash;
- *alias = filename + sizeof("phar://") - 1;
+ *alias = (char*)filename + sizeof("phar://") - 1;
slash = strstr(*alias, "/");
if (slash) {
*alias_len = slash - *alias;