Resolve [-Wsign-compare]

This commit is contained in:
Minty-Meeo
2023-03-23 12:28:44 -05:00
committed by get
parent 1312624e05
commit 1cf30055b2
2 changed files with 3 additions and 2 deletions

View File

@ -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();