summaryrefslogtreecommitdiff
path: root/Zend/zend_stream.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_stream.c')
-rw-r--r--Zend/zend_stream.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zend/zend_stream.c b/Zend/zend_stream.c
index 263fa869e2..88ef53bdb0 100644
--- a/Zend/zend_stream.c
+++ b/Zend/zend_stream.c
@@ -311,7 +311,7 @@ ZEND_API void zend_file_handle_dtor(zend_file_handle *fh TSRMLS_DC) /* {{{ */
fh->opened_path = NULL;
}
if (fh->free_filename && fh->filename) {
- efree(fh->filename);
+ efree((char*)fh->filename);
fh->filename = NULL;
}
}