diff options
author | Lioncash <mathew1800@gmail.com> | 2018-07-21 22:36:19 -0400 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2018-07-21 22:42:08 -0400 |
commit | 0ba7fe4ab11d5c7a934a1b45b374f3277bc9f2cf (patch) | |
tree | 3753ff286d37c247cde5c6be66740641bba587c1 /src/yuzu | |
parent | 964154ce44cfa25bd59c6fa10113e948a3b43d5c (diff) |
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.
Diffstat (limited to 'src/yuzu')
-rw-r--r-- | src/yuzu/game_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list.cpp b/src/yuzu/game_list.cpp index e1ca0e77b..99e6634a1 100644 --- a/src/yuzu/game_list.cpp +++ b/src/yuzu/game_list.cpp @@ -394,7 +394,7 @@ void GameList::RefreshGameDirectory() { } void GameListWorker::AddFstEntriesToGameList(const std::string& dir_path, unsigned int recursion) { - const auto callback = [this, recursion](unsigned* num_entries_out, const std::string& directory, + const auto callback = [this, recursion](u64* num_entries_out, const std::string& directory, const std::string& virtual_name) -> bool { std::string physical_name = directory + DIR_SEP + virtual_name; |