From 0440079a249e254be9df031a95998180dfeff916 Mon Sep 17 00:00:00 2001 From: xantares Date: Sat, 26 Nov 2022 18:20:16 +0100 Subject: [PATCH] FileSystem: Use _stat64 routines --- common/FileSystem.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/FileSystem.cpp b/common/FileSystem.cpp index aaf49b57a1..a700e68bcb 100644 --- a/common/FileSystem.cpp +++ b/common/FileSystem.cpp @@ -1065,7 +1065,7 @@ bool FileSystem::StatFile(const char* path, struct stat* st) return false; struct _stat64 st64; - if (_wstati64(wpath.c_str(), &st64) != 0) + if (_wstat64(wpath.c_str(), &st64) != 0) return false; TranslateStat64(st, st64); @@ -1079,7 +1079,7 @@ bool FileSystem::StatFile(std::FILE* fp, struct stat* st) return false; struct _stat64 st64; - if (_fstati64(fd, &st64) != 0) + if (_fstat64(fd, &st64) != 0) return false; TranslateStat64(st, st64); @@ -1145,7 +1145,7 @@ bool FileSystem::StatFile(std::FILE* fp, FILESYSTEM_STAT_DATA* sd) return false; struct _stat64 st; - if (_fstati64(fd, &st) != 0) + if (_fstat64(fd, &st) != 0) return false; // parse attributes