Skip to content

Commit

Permalink
Fix MSVC 2015 warning.
Browse files Browse the repository at this point in the history
  • Loading branch information
levlam committed Dec 27, 2021
1 parent ac8ccaf commit bbb4b68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion td/telegram/StickersManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6519,7 +6519,7 @@ void StickersManager::on_update_recent_stickers_limit(int32 recent_stickers_limi
for (int is_attached = 0; is_attached < 2; is_attached++) {
if (static_cast<int32>(recent_sticker_ids_[is_attached].size()) > recent_stickers_limit) {
recent_sticker_ids_[is_attached].resize(recent_stickers_limit);
send_update_recent_stickers(is_attached);
send_update_recent_stickers(is_attached != 0);
}
}
} else {
Expand Down

0 comments on commit bbb4b68

Please sign in to comment.