summaryrefslogtreecommitdiff
path: root/Applications/FileManager/FileUtils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/FileManager/FileUtils.cpp')
-rw-r--r--Applications/FileManager/FileUtils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Applications/FileManager/FileUtils.cpp b/Applications/FileManager/FileUtils.cpp
index 3976b9515f..9db2f3f199 100644
--- a/Applications/FileManager/FileUtils.cpp
+++ b/Applications/FileManager/FileUtils.cpp
@@ -182,7 +182,7 @@ String get_duplicate_name(const String& path, int duplicate_count)
FileSystemPath fsp(path);
StringBuilder duplicated_name;
duplicated_name.append('/');
- for (int i = 0; i < fsp.parts().size() - 1; ++i) {
+ for (size_t i = 0; i < fsp.parts().size() - 1; ++i) {
duplicated_name.appendf("%s/", fsp.parts()[i].characters());
}
auto prev_duplicate_tag = String::format("(%d)", duplicate_count);