summaryrefslogtreecommitdiffstats
path: root/osdep/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/io.c')
-rw-r--r--osdep/io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/osdep/io.c b/osdep/io.c
index 5531e3ce7c..f6ccbb4f74 100644
--- a/osdep/io.c
+++ b/osdep/io.c
@@ -87,7 +87,7 @@ void mp_get_converted_argv(int *argc, char ***argv)
int mp_stat(const char *path, struct stat *buf)
{
wchar_t *wpath = mp_from_utf8(NULL, path);
- int res = _wstat64(wpath, buf);
+ int res = _wstati64(wpath, buf);
talloc_free(wpath);
return res;
}