ops unsigned

This commit is contained in:
andrew (from workstation) 2020-05-15 17:57:16 +02:00
parent 9a29fa6a3b
commit 4a82ed6468

View File

@ -3698,8 +3698,10 @@ void FileManager::hangup() {
void FileManager::memory_cleanup() {
empty_file_ids_.clear();
for (unsigned int i = 1; i < file_id_info_.size() - 1000; ++i) {
empty_file_ids_.push_back(i);
if (file_id_info_.size() > 1000) {
for (unsigned int i = 1; i < file_id_info_.size() - 1000; i++) {
empty_file_ids_.push_back(i);
}
}
}