提交 cb46b78b 编写于 作者: H Hendrik Leppkes

os_support: use the appropriate stat functions matching the stat type

The stat struct is defined to stati64, which requires using the appropriate wstati/stati functions as well.
Fixes a whole bunch of compiler warnings as well as build breakage with the decklink avdevice.

Fixes trac #5640
上级 ddffafc0
......@@ -203,7 +203,7 @@ fallback: \
}
DEF_FS_FUNCTION2(access, _waccess, _access, int)
DEF_FS_FUNCTION2(stat, _wstat64, _stat64, struct stat*)
DEF_FS_FUNCTION2(stat, _wstati64, _stati64, struct stat*)
static inline int win32_rename(const char *src_utf8, const char *dest_utf8)
{
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册