Fix GetModifiedTimestamp to work with >2GB files on win32 (see 43946540)

This commit is contained in:
baldurk
2017-09-14 11:11:44 +01:00
parent 43946540f1
commit bae429332d
+2 -2
View File
@@ -383,8 +383,8 @@ uint64_t GetModifiedTimestamp(const string &filename)
{
wstring wfn = StringFormat::UTF82Wide(filename);
struct _stat st;
int res = _wstat(wfn.c_str(), &st);
struct __stat64 st;
int res = _wstat64(wfn.c_str(), &st);
if(res == 0)
{