com php-src: silence compiler noise: Zend/zend_virtual_cwd .c
| From: | Anatol Belski | Date: | Mon, 11 Jul 2016 07:24:04 +0000 |
| Subject: | com php-src: silence compiler noise: Zend/zend_virtual_cwd .c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92903@lists.php.net to get a copy of this message | ||
Commit: 6955790107e56f4f776e2b7414582ee9dc28f9c0
Author: Anatol Belski <ab@php.net> Thu, 7 Jul 2016 15:34:46 +0200
Parents: 24d0211b325c17d4182912aa406c7afe744a9a17
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6955790107e56f4f776e2b7414582ee9dc28f9c0
Log:
silence compiler noise
Changed paths:
M Zend/zend_virtual_cwd.c
Diff:
diff --git a/Zend/zend_virtual_cwd.c b/Zend/zend_virtual_cwd.c
index 7628394..7f3415c 100644
--- a/Zend/zend_virtual_cwd.c
+++ b/Zend/zend_virtual_cwd.c
@@ -311,7 +311,7 @@ CWD_API int php_sys_stat_ex(const char *path, zend_stat_t *buf, int lstat) /* {{
#if ZEND_ENABLE_ZVAL_LONG64
ret = _wstat64(pathw, buf);
#else
- ret = _wstat(pathw, buf);
+ ret = _wstat(pathw, (struct _stat32 *)buf);
#endif
free(pathw);