From 0ba8247033eb08c8080e555c21281a3a180c82f6 Mon Sep 17 00:00:00 2001 From: levlam Date: Sun, 30 Jun 2024 00:18:35 +0300 Subject: [PATCH] Implicitly cast media_pos type. --- td/telegram/MessagesManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/MessagesManager.cpp b/td/telegram/MessagesManager.cpp index dee2cd00f..543d300d1 100644 --- a/td/telegram/MessagesManager.cpp +++ b/td/telegram/MessagesManager.cpp @@ -29421,7 +29421,7 @@ void MessagesManager::on_send_message_file_reference_error(int64 random_id, size int32 media_pos = -1; auto file_ids = get_message_content_any_file_ids(m->content.get()); if (file_ids.size() > 1u) { - media_pos = pos; + media_pos = static_cast(pos); LOG(INFO) << "Add paid media group send for " << message_full_id; auto &request = pending_paid_media_group_sends_[message_full_id];