diff --git a/td/telegram/StickerFormat.cpp b/td/telegram/StickerFormat.cpp index 314e8c361..25e0503e5 100644 --- a/td/telegram/StickerFormat.cpp +++ b/td/telegram/StickerFormat.cpp @@ -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) { case StickerFormat::Unknown: case StickerFormat::Webp: diff --git a/td/telegram/StickerFormat.h b/td/telegram/StickerFormat.h index dfa9a55f7..23560f12d 100644 --- a/td/telegram/StickerFormat.h +++ b/td/telegram/StickerFormat.h @@ -25,7 +25,7 @@ bool is_sticker_format_animated(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);