[Util] Fixed strict reduce to 32 bit types for progressReporter.SetProgress()

This commit is contained in:
Herman Semenov committed 2024-05-11 19:50:35 -05:00
1 parent f75d7d13a0
commit 27d0ac6cce
1 file changed
+1 -1
+1 -1
View File
@@ -237,7 +237,7 @@ MoveResult *MoveDirectoryContentsSafe(Path moveSrc, Path moveDest, MoveProgressR
bool ok = true;
for (size_t i = 0; i < fileSuffixesToMove.size(); i++) {
const auto &fileSuffix = fileSuffixesToMove[i];
progressReporter.SetProgress(ms->T("Checking..."), (int)i, (int)fileSuffixesToMove.size());
progressReporter.SetProgress(ms->T("Checking..."), i, fileSuffixesToMove.size());
Path to = moveDest / fileSuffix.suffix;