]> granicus.if.org Git - php/commitdiff
silence compiler noise
authorAnatol Belski <ab@php.net>
Thu, 7 Jul 2016 13:34:46 +0000 (15:34 +0200)
committerAnatol Belski <ab@php.net>
Mon, 11 Jul 2016 07:24:04 +0000 (09:24 +0200)
Zend/zend_virtual_cwd.c

index 7628394b4665e77af2f7fdf7057088bad3b23e7e..7f3415c1269a8d4a6bfce56baf706584cc786088 100644 (file)
@@ -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);