Use int64 for max_sticker_file_size.
This commit is contained in:
parent
8c83b66d40
commit
5daf033e0d
|
@ -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:
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user