Use int64 for max_sticker_file_size.

This commit is contained in:
levlam 2022-01-23 16:18:33 +03:00
parent 8c83b66d40
commit 5daf033e0d
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ bool is_sticker_format_vector(StickerFormat sticker_format) {
} }
} }
size_t get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail) { int64 get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail) {
switch (sticker_format) { switch (sticker_format) {
case StickerFormat::Unknown: case StickerFormat::Unknown:
case StickerFormat::Webp: case StickerFormat::Webp:

View File

@ -25,7 +25,7 @@ bool is_sticker_format_animated(StickerFormat sticker_format);
bool is_sticker_format_vector(StickerFormat sticker_format); bool is_sticker_format_vector(StickerFormat sticker_format);
size_t get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail); int64 get_max_sticker_file_size(StickerFormat sticker_format, bool for_thumbnail);
StringBuilder &operator<<(StringBuilder &string_builder, StickerFormat sticker_format); StringBuilder &operator<<(StringBuilder &string_builder, StickerFormat sticker_format);