diff options
| author | Minty-Meeo <45425365+Minty-Meeo@users.noreply.github.com> | 2023-03-23 12:28:44 -0500 |
|---|---|---|
| committer | get <45425365+Minty-Meeo@users.noreply.github.com> | 2023-04-10 14:21:15 -0500 |
| commit | 1cf30055b26fa2966c411ae9e70510daaa21174a (patch) | |
| tree | 06c5b7c11e83c0a47a1a8f5d45ef2e201e5c211f /Source/Core/Common/FileUtil.cpp | |
| parent | 1312624e0510d135cbfccbd84d85a346dfc75195 (diff) | |
Resolve [-Wsign-compare]
Diffstat (limited to 'Source/Core/Common/FileUtil.cpp')
| -rw-r--r-- | Source/Core/Common/FileUtil.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index b97185e769..a9e7c35946 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -486,7 +486,7 @@ FSTEntry ScanDirectoryTree(std::string directory, bool recursive) } else if (cur_depth < prev_depth) { - while (dir_fsts.size() - 1 != cur_depth) + while (dir_fsts.size() != static_cast<size_t>(cur_depth) + 1u) { calc_dir_size(dir_fsts.top()); dir_fsts.pop(); |
