From 27d0ac6cce641e1d34f941b82bd5b9c9fbb6dfe4 Mon Sep 17 00:00:00 2001 From: Herman Semenov Date: Sat, 11 May 2024 19:50:35 -0500 Subject: [PATCH] [Util] Fixed strict reduce to 32 bit types for progressReporter.SetProgress() --- Core/Util/MemStick.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Core/Util/MemStick.cpp b/Core/Util/MemStick.cpp index ceca99e9e3..64da3b699b 100644 --- a/Core/Util/MemStick.cpp +++ b/Core/Util/MemStick.cpp @@ -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;