Fixed a problem with opening capture files larger than 2gb on windows

This commit is contained in:
Jimmy Lee authored and Baldur Karlsson committed 2017-09-14 03:09:08 -07:00
1 parent 139b122cc4
commit 43946540f1
1 file changed
+2 -2
+2 -2
View File
@@ -531,8 +531,8 @@ bool exists(const char *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);
return (res == 0);
}