file_util: Use a u64 to represent number of entries
This avoids a truncating cast on size. I doubt we'd ever traverse a directory this large, however we also shouldn't truncate sizes away.
This commit is contained in:
parent
964154ce44
commit
0ba7fe4ab1
5 changed files with 18 additions and 18 deletions
|
@ -20,7 +20,7 @@ namespace Loader {
|
|||
|
||||
static std::string FindRomFS(const std::string& directory) {
|
||||
std::string filepath_romfs;
|
||||
const auto callback = [&filepath_romfs](unsigned*, const std::string& directory,
|
||||
const auto callback = [&filepath_romfs](u64*, const std::string& directory,
|
||||
const std::string& virtual_name) -> bool {
|
||||
const std::string physical_name = directory + virtual_name;
|
||||
if (FileUtil::IsDirectory(physical_name)) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue