mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-06 01:50:38 +00:00
Fix GetModifiedTimestamp to work with >2GB files on win32 (see 43946540)
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user