diff --git a/reactos/lib/msvcrt/sys_stat/wstat.c b/reactos/lib/msvcrt/sys_stat/wstat.c index 2551a51094a..f9d5f4ea1dc 100644 --- a/reactos/lib/msvcrt/sys_stat/wstat.c +++ b/reactos/lib/msvcrt/sys_stat/wstat.c @@ -11,7 +11,7 @@ int _wstat (const wchar_t *path, struct stat *buffer) { WIN32_FILE_ATTRIBUTE_DATA fileAttributeData; - wchar_t ext; + wchar_t *ext; if (!buffer) { @@ -61,7 +61,7 @@ int _wstat (const wchar_t *path, struct stat *buffer) __int64 _wstati64 (const wchar_t *path, struct _stati64 *buffer) { WIN32_FILE_ATTRIBUTE_DATA fileAttributeData; - wchar_t ext; + wchar_t *ext; if (!buffer) {