Codechange: use std::string for FiosIsValidFile

This commit is contained in:
Rubidium
2023-05-30 22:35:00 +02:00
committed by rubidium42
parent 1ff0dc11d8
commit 13789d1703
5 changed files with 12 additions and 19 deletions

View File

@@ -190,7 +190,7 @@ void FiosGetDrives(FileList &file_list)
}
}
bool FiosIsValidFile(const char *path, const struct dirent *ent, struct stat *sb)
bool FiosIsValidFile(const std::string &path, const struct dirent *ent, struct stat *sb)
{
/* hectonanoseconds between Windows and POSIX epoch */
static const int64 posix_epoch_hns = 0x019DB1DED53E8000LL;