diff --git a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.h b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.h index c5cf412b2..3cc332ba8 100644 --- a/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.h +++ b/Telegram/SourceFiles/dialogs/ui/dialogs_video_userpic.h @@ -48,7 +48,6 @@ private: int _lastSize = 0; std::shared_ptr _videoPhotoMedia; PhotoId _videoPhotoId = 0; - PhotoId _photoIdRequested = 0; }; diff --git a/Telegram/SourceFiles/export/export_api_wrap.cpp b/Telegram/SourceFiles/export/export_api_wrap.cpp index 1d7fabd7c..21312886b 100644 --- a/Telegram/SourceFiles/export/export_api_wrap.cpp +++ b/Telegram/SourceFiles/export/export_api_wrap.cpp @@ -28,7 +28,7 @@ constexpr auto kFileRequestsCount = 2; constexpr auto kChatsSliceLimit = 100; constexpr auto kMessagesSliceLimit = 100; constexpr auto kTopPeerSliceLimit = 100; -constexpr auto kFileMaxSize = 4000 * 1024 * 1024; +constexpr auto kFileMaxSize = 4000 * int64(1024 * 1024); constexpr auto kLocationCacheSize = 100'000; struct LocationKey { diff --git a/Telegram/SourceFiles/export/export_settings.cpp b/Telegram/SourceFiles/export/export_settings.cpp index 75a287eb0..58f2ab553 100644 --- a/Telegram/SourceFiles/export/export_settings.cpp +++ b/Telegram/SourceFiles/export/export_settings.cpp @@ -12,7 +12,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL namespace Export { namespace { -constexpr auto kMaxFileSize = 4000 * 1024 * 1024; +constexpr auto kMaxFileSize = 4000 * int64(1024 * 1024); } // namespace