summaryrefslogtreecommitdiff
path: root/ext/bz2
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2015-03-22 21:43:05 -0700
committerStanislav Malyshev <stas@php.net>2015-03-22 21:43:05 -0700
commit62859309b075db8ebdf94c2b6e87f1a1a405fb3e (patch)
treeb8fcfcab6ac6c5a1ef0061cda239c8853fdb27ad /ext/bz2
parent012e5250444e2f8daba8a53d491d2677f6274df5 (diff)
downloadphp-git-62859309b075db8ebdf94c2b6e87f1a1a405fb3e.tar.gz
silence warning
Diffstat (limited to 'ext/bz2')
-rw-r--r--ext/bz2/bz2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c
index 52810719cc..f4d1665d45 100644
--- a/ext/bz2/bz2.c
+++ b/ext/bz2/bz2.c
@@ -252,7 +252,7 @@ PHP_BZ2_API php_stream *_php_stream_bz2open(php_stream_wrapper *wrapper,
#ifdef VIRTUAL_DIR
virtual_filepath_ex(path, &path_copy, NULL);
#else
- path_copy = path;
+ path_copy = (char *)path;
#endif
if (php_check_open_basedir(path_copy)) {