Commit:    60ce3811ae3b86eb7bfb86cc965e3f79e61bfc4a
Author:    Dmitry Stogov <dmi...@zend.com>         Mon, 21 Oct 2013 14:17:10 
+0400
Parents:   098855433dc5d609e3970f0bc9d6766c007273f3
Branches:  PHP-5.5 master

Link:       
http://git.php.net/?p=php-src.git;a=commitdiff;h=60ce3811ae3b86eb7bfb86cc965e3f79e61bfc4a

Log:
Fixed compilation warning

Changed paths:
  M  ext/opcache/ZendAccelerator.c


Diff:
diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c
index 48ff730..8cee80f 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;


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to