mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-15 21:57:10 +02:00
Fix build with Xcode.
This commit is contained in:
parent
ad3c6ebb1e
commit
8a87f2996a
3 changed files with 2 additions and 3 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue