Fix warning.
This commit is contained in:
parent
829201278f
commit
7e1555531c
@ -1704,7 +1704,7 @@ Result<FileId> FileManager::merge(FileId x_file_id, FileId y_file_id, bool no_sy
|
||||
node->on_info_changed();
|
||||
}
|
||||
|
||||
if (node->file_ids_.size() > (1u << file_node_size_warning_exp_)) {
|
||||
if (node->file_ids_.size() > (static_cast<size_t>(1) << file_node_size_warning_exp_)) {
|
||||
LOG(WARNING) << "File of type " << file_view.get_type() << " has " << node->file_ids_.size() << " file identifiers";
|
||||
file_node_size_warning_exp_++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user