Commit cb46b78b authored by Hendrik Leppkes's avatar 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
parent 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% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment