diff --git a/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp b/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp index d2b8b2157c..cb14358c59 100644 --- a/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp +++ b/Telegram/SourceFiles/media/streaming/media_streaming_reader.cpp @@ -994,7 +994,7 @@ void Reader::checkForDownloaderChange(int checkItemsCount) { const auto changed = std::adjacent_find( end - checkItemsCount, end, - [](int first, int second) { return (second <= first); }); + [](uint32 first, uint32 second) { return (second <= first); }); if (changed != end) { _offsetsForDownloader.erase( begin(_offsetsForDownloader),