mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2026-07-25 06:54:43 +00:00
Fix build with Xcode.
This commit is contained in:
@@ -48,7 +48,6 @@ private:
|
||||
int _lastSize = 0;
|
||||
std::shared_ptr<Data::PhotoMedia> _videoPhotoMedia;
|
||||
PhotoId _videoPhotoId = 0;
|
||||
PhotoId _photoIdRequested = 0;
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user