summaryrefslogtreecommitdiff
path: root/Zend/zend_virtual_cwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/zend_virtual_cwd.c')
-rw-r--r--Zend/zend_virtual_cwd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index a2f1e075e5..ac3d6773b1 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -303,8 +303,8 @@ static inline zend_ulong realpath_cache_key(const char *path, size_t path_len) /
{
register zend_ulong h;
size_t bucket_key_len;
- char *bucket_key_start = tsrm_win32_get_path_sid_key(path, path_len, &bucket_key_len);
- char *bucket_key = (char *)bucket_key_start;
+ const char *bucket_key_start = tsrm_win32_get_path_sid_key(path, path_len, &bucket_key_len);
+ const char *bucket_key = bucket_key_start;
const char *e;
if (!bucket_key) {