Skip to content

Commit e78c536

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/PHP-5.5' into PHP-5.5
* refs/remotes/origin/PHP-5.5: Fixed compilation warning
2 parents fb610b4 + 60ce381 commit e78c536

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/ZendAccelerator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ static inline int is_phar_relative_alias_path(const char *filename, char **alias
150150
if (memcmp(filename, "phar://", sizeof("phar://") - 1) == 0
151151
&& filename[sizeof("phar://") - 1] != '\0' && filename[sizeof("phar://") - 1] != '/') {
152152
char *slash;
153-
*alias = filename + sizeof("phar://") - 1;
153+
*alias = (char*)filename + sizeof("phar://") - 1;
154154
slash = strstr(*alias, "/");
155155
if (slash) {
156156
*alias_len = slash - *alias;

0 commit comments

Comments
 (0)